Skip to content

Commit

Permalink
disable estimation, smoothing, slowirfs and medianirfs if othermodfil…
Browse files Browse the repository at this point in the history
…e is specified
  • Loading branch information
tholden committed May 20, 2020
1 parent 0245c62 commit 5e99a5f
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion Core/Setup/dynareOBCSetup.m
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,36 @@ function dynareOBCSetup( OriginalPath, CurrentFolder, dynareOBCPath, InputFileNa
disp( 'Disabling Global since the OtherMODFile option is non-empty.' );
disp( ' ' );
end

if dynareOBC_.Estimation
dynareOBC_.Estimation = false;
disp( ' ' );
disp( 'Disabling Estimation since the OtherMODFile option is non-empty.' );
disp( ' ' );
end
if dynareOBC_.Smoothing
dynareOBC_.Smoothing = false;
disp( ' ' );
disp( 'Disabling Smoothing since the OtherMODFile option is non-empty.' );
disp( ' ' );
end
if dynareOBC_.SimulateOnGridPoints
dynareOBC_.SimulateOnGridPoints = false;
disp( ' ' );
disp( 'Disabling SimulateOnGridPoints since the OtherMODFile option is non-empty.' );
disp( ' ' );
end
if dynareOBC_.SlowIRFs
dynareOBC_.SlowIRFs = false;
disp( ' ' );
disp( 'Disabling SlowIRFs since the OtherMODFile option is non-empty.' );
disp( ' ' );
end
if dynareOBC_.MedianIRFs
dynareOBC_.MedianIRFs = false;
disp( ' ' );
disp( 'Disabling MedianIRFs since the OtherMODFile option is non-empty.' );
disp( ' ' );
end

dynareOBCOriginal = dynareOBC_;

Expand Down

0 comments on commit 5e99a5f

Please sign in to comment.