avoid call to dyn2vec in stoch_simul when the minimal_workspace option is passed, closes #946
parent
fe8750c1bc
commit
60b3577a09
|
@ -146,7 +146,9 @@ if options_.periods > 0 && ~PI_PCL_solver
|
|||
end
|
||||
[ys, oo_] = simult(y0,oo_.dr,M_,options_,oo_);
|
||||
oo_.endo_simul = ys;
|
||||
dyn2vec;
|
||||
if ~options_.minimal_workspace
|
||||
dyn2vec;
|
||||
end
|
||||
end
|
||||
|
||||
if options_.nomoments == 0
|
||||
|
|
Loading…
Reference in New Issue