Commit 03ec4fa8 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge pull request #394 from JohannesPfeifer/k_order_pert_pruning_simult

Bugfix for simult_.m when used with k_order_pert and pruning at order=1
parents 86ee5787 44a66417
......@@ -47,7 +47,7 @@ if options_.order == 3
options_.k_order_solver = 1;
end
if ~options_.k_order_solver
if ~options_.k_order_solver || (options_.k_order_solver && options_.pruning) %if k_order_pert is not used or if we do not use Dynare++ with k_order_pert
if iorder==1
y_(:,1) = y_(:,1)-dr.ys;
end
......
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