Skip to content
Snippets Groups Projects
Commit 9a3494b7 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

OSR: minor cosmetic changes

(cherry picked by hand from commit 28a4e79c)
parent 25b35eeb
No related branches found
No related tags found
No related merge requests found
function osr1(i_params,i_var,weights) function osr1(i_params,i_var,weights)
% Copyright (C) 2005-2009 Dynare Team % Copyright (C) 2005-2010 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
...@@ -31,11 +31,11 @@ if M_.exo_nbr == 0 ...@@ -31,11 +31,11 @@ if M_.exo_nbr == 0
end end
if ~ M_.lead_lag_incidence(M_.maximum_lag+1,:) > 0 if ~ M_.lead_lag_incidence(M_.maximum_lag+1,:) > 0
error ('OSR: Error in model specification: some variables don"t appear as current') ; error ('OSR: Error in model specification: some variables don''t appear as current') ;
end end
if M_.maximum_lead == 0 if M_.maximum_lead == 0
error ('Backward or static model: no point in using OLR') ; error ('Backward or static model: no point in using OSR') ;
end end
exe =zeros(M_.exo_nbr,1); exe =zeros(M_.exo_nbr,1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment