Skip to content
Snippets Groups Projects
Commit 3790ab1d authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Cosmetic changes. Removed useless spaces and semicolons.

parent cf567dd5
Branches
Tags
No related merge requests found
...@@ -55,16 +55,16 @@ if isoctave && options_.stack_solve_algo == 2 ...@@ -55,16 +55,16 @@ if isoctave && options_.stack_solve_algo == 2
end end
if size(M_.lead_lag_incidence,2)-nnz(M_.lead_lag_incidence(M_.maximum_endo_lag+1,:)) > 0 if size(M_.lead_lag_incidence,2)-nnz(M_.lead_lag_incidence(M_.maximum_endo_lag+1,:)) > 0
mess = ['SIMUL: error in model specification : variable ' M_.endo_names(find(M_.lead_lag_incidence(M_.maximum_lag+1,:)==0),:)] ; mess = ['SIMUL: error in model specification : variable ' M_.endo_names(find(M_.lead_lag_incidence(M_.maximum_lag+1,:)==0),:)];
mess = [mess ' doesn''t appear as current variable.'] ; mess = [mess ' doesn''t appear as current variable.'];
error (mess) ; error(mess)
end end
if options_.periods == 0 if options_.periods == 0
error('SIMUL: number of periods for the simulation isn''t specified') error('SIMUL: number of periods for the simulation isn''t specified')
end end
if ~ options_.initval_file if ~options_.initval_file
if isempty(options_.datafile) if isempty(options_.datafile)
make_ex_; make_ex_;
make_y_; make_y_;
...@@ -74,10 +74,10 @@ if ~ options_.initval_file ...@@ -74,10 +74,10 @@ if ~ options_.initval_file
end end
if isempty(options_.scalv) || options_.scalv == 0 if isempty(options_.scalv) || options_.scalv == 0
options_.scalv = oo_.steady_state ; options_.scalv = oo_.steady_state;
end end
options_.scalv= 1 ; options_.scalv= 1;
if options_.debug if options_.debug
model_static = str2func([M_.fname,'_static']); model_static = str2func([M_.fname,'_static']);
...@@ -102,11 +102,11 @@ if(options_.block) ...@@ -102,11 +102,11 @@ if(options_.block)
oo_.deterministic_simulation.status = 0; oo_.deterministic_simulation.status = 0;
else else
oo_.deterministic_simulation.status = 1; oo_.deterministic_simulation.status = 1;
end; end
mexErrCheck('bytecode', info); mexErrCheck('bytecode', info);
else else
eval([M_.fname '_dynamic']); eval([M_.fname '_dynamic']);
end; end
else else
if(options_.bytecode) if(options_.bytecode)
[info, oo_.endo_simul]=bytecode('dynamic'); [info, oo_.endo_simul]=bytecode('dynamic');
...@@ -123,7 +123,7 @@ else ...@@ -123,7 +123,7 @@ else
sim1_lbj; sim1_lbj;
end end
end end
end; end
end; end
dyn2vec; dyn2vec;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment