Skip to content

Commit

Permalink
a pool was opened for slowirfs even when irfperiods was 0
Browse files Browse the repository at this point in the history
  • Loading branch information
tholden committed May 20, 2020
1 parent 1550bc7 commit 0245c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/MChecks/InitialChecks.m
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
ParallelRetrieveConditionalCovariances = false;
end

PoolNotNeeded = ~dynareOBC.Estimation && ~dynareOBC.Smoothing && ( ( dynareOBC.SimulationPeriods == 0 && dynareOBC.IRFPeriods == 0 ) || ( ~ParallelRetrieveConditionalCovariances && ~dynareOBC.SlowIRFs && ~dynareOBC.Cubature && ~dynareOBC.SimulateOnGridPoints && dynareOBC.MLVSimulationMode <= 1 ) );
PoolNotNeeded = ~dynareOBC.Estimation && ~dynareOBC.Smoothing && ( ( dynareOBC.SimulationPeriods == 0 && dynareOBC.IRFPeriods == 0 ) || ( ~ParallelRetrieveConditionalCovariances && ( ~dynareOBC.SlowIRFs || dynareOBC.IRFPeriods == 0 ) && ~dynareOBC.Cubature && ~dynareOBC.SimulateOnGridPoints && dynareOBC.MLVSimulationMode <= 1 ) );

PoolOpened = false;
d1sSubMMatrices = dynareOBC.d1sSubMMatrices;
Expand Down

0 comments on commit 0245c62

Please sign in to comment.