From fa1563370cb001acd028e65ec42b94f1f7861cde Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Fri, 21 Apr 2017 10:07:54 +0200 Subject: [PATCH] Make resol.m honor nocheck flag Before, we never tested for correctness, allowing for wrong steady state files in the check command. Fixes bug introduced in 616efb53a448cfa59149951395838627fd1bf719 and restores behavior in 4.4.3 --- matlab/resol.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/resol.m b/matlab/resol.m index 48f5573d6..0fae31a9e 100644 --- a/matlab/resol.m +++ b/matlab/resol.m @@ -101,7 +101,7 @@ if M.exo_nbr == 0 oo.exo_steady_state = [] ; end -[dr.ys,M.params,info] = evaluate_steady_state(oo.steady_state,M,options,oo,0); +[dr.ys,M.params,info] = evaluate_steady_state(oo.steady_state,M,options,oo,~options.steadystate.nocheck); if info(1) oo.dr = dr;