From 41823ad10de51a7e9151fc5afcb9fc65f2f36bc7 Mon Sep 17 00:00:00 2001 From: Ferhat Mihoubi Date: Mon, 31 Jan 2011 10:01:08 +0100 Subject: [PATCH] correction of the state variables list to display when the model is block decomposed --- matlab/disp_dr.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/disp_dr.m b/matlab/disp_dr.m index 26c06ba2b..1fbd002bb 100644 --- a/matlab/disp_dr.m +++ b/matlab/disp_dr.m @@ -103,7 +103,7 @@ end for k=1:nx flag = 0; if options_.block - str1 = subst_auxvar(k1(dr.nstatic+k),-1); + str1 = subst_auxvar(dr.state_var(k),-1); else str1 = subst_auxvar(k1(klag(k,1)),klag(k,2)-M_.maximum_lag-2); end;