Commit 59ca45e4 authored by sebastien's avatar sebastien
Browse files

Removed last remnants of "ct_" global variable


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3187 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 36f82af6
......@@ -28,7 +28,7 @@ function global_initialization()
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
global oo_ M_ options_ ct_
global oo_ M_ options_
options_.terminal_condition = 0;
options_.rplottype = 0;
......
......@@ -29,8 +29,7 @@ function simul(dr)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
global M_ options_ oo_
global ys0_ ct_
global M_ options_ oo_ ys0_
if size(M_.lead_lag_incidence,2)-nnz(M_.lead_lag_incidence(M_.maximum_endo_lag+1,:)) > 0
mess = ['DYNARE: error in model specification : variable ' M_.endo_names(find(M_.lead_lag_incidence(M_.maximum_lag+1,:)==0),:)] ;
......@@ -46,7 +45,6 @@ if options_.periods == 0
error('SIMUL: number of periods for the simulation isn''t specified')
end
options_.periods = options_.periods;
ct_=0;
if ~ options_.initval_file
if ~isfield(options_,'datafile')
......
......@@ -254,8 +254,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const
mOutputFile << "clear all" << endl;
mOutputFile << "tic;" << endl
<< "global M_ oo_ options_" << endl
<< "global ys0_ ex0_ ct_" << endl
<< "global M_ oo_ options_ ys0_ ex0_" << endl
<< "options_ = [];" << endl
<< "M_.fname = '" << basename << "';" << endl
<< "%" << endl
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment