Do not build the tree for future shocks if options_.ep.stochastic.order = 0.

time-shift
Stéphane Adjemian (Charybdis) 2012-11-29 12:11:49 +01:00
parent e84b8de476
commit 2ff996d077
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ pfm.verbose = DynareOptions.ep.verbosity;
pfm.maxit_ = DynareOptions.maxit_;
pfm.tolerance = DynareOptions.dynatol.f;
if nargin>3
if nargin>3 && DynareOptions.ep.stochastic.order
% Compute weights and nodes for the stochastic version of the extended path.
switch IntegrationMethod
case 'Tensor-Gaussian-Quadrature'