Skip to content

Commit

Permalink
Update stoch_simul_MMB.m
Browse files Browse the repository at this point in the history
  • Loading branch information
jumaxst authored Dec 4, 2024
1 parent b37f5c9 commit 8dd41ae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions static/mmci-cli/lib/stoch_simul_MMB.m
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@
options_.order = 1; % ADDED BY MODELBASE TEAM

% Error fix
% if str2num(d_version([1 3])) < 50 && ~isempty(strfind(base.names, 'US_FRB22_'))
% error(horzcat('Dynare version 5.0 or higher is required for model: ', base.names));
% end
if str2num(d_version([1 3])) < 50 && ~isempty(strfind(base.names, 'US_FRB22_'))
error(horzcat('Dynare version 5.0 or higher is required for model: ', base.names));
end


if str2num(d_version([1 3]))<50 && contains(base.names,'US_FRB22_')
error(horzcat('Dynare version 5.0 or higher is required for model: ',base.names))
end
% if str2num(d_version([1 3]))<50 && contains(base.names,'US_FRB22_')
% error(horzcat('Dynare version 5.0 or higher is required for model: ',base.names))
% end

if options_.linear
options_.order = 1;
Expand Down

0 comments on commit 8dd41ae

Please sign in to comment.