Commit 60b3577a authored by Houtan Bastani's avatar Houtan Bastani
Browse files

avoid call to dyn2vec in stoch_simul when the minimal_workspace option is passed, closes #946

parent fe8750c1
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment