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
|
end
|
||||||
[ys, oo_] = simult(y0,oo_.dr,M_,options_,oo_);
|
[ys, oo_] = simult(y0,oo_.dr,M_,options_,oo_);
|
||||||
oo_.endo_simul = ys;
|
oo_.endo_simul = ys;
|
||||||
|
if ~options_.minimal_workspace
|
||||||
dyn2vec;
|
dyn2vec;
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if options_.nomoments == 0
|
if options_.nomoments == 0
|
||||||
|
|
Loading…
Reference in New Issue