Commit 37f5ac85 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug (karaba:/var/tmp/dynare-master-check-WMwywKtbcz.log). dr.state_var...

Fixed bug (karaba:/var/tmp/dynare-master-check-WMwywKtbcz.log). dr.state_var is not defined in all cases...
parent 54aff15b
......@@ -103,7 +103,11 @@ end
for k=1:nx
flag = 0;
str1 = subst_auxvar(dr.state_var(k),-1);
if isfield(dr,'state_var')
str1 = subst_auxvar(dr.state_var(k),-1);
str1 = subst_auxvar(k1(klag(k,1)),klag(k,2)-M_.maximum_lag-2);
str = sprintf('%-20s',str1);
for i=1:nvar
x = dr.ghx(ivar(i),k);
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