Commit 9d95a995 authored by MichelJuillard's avatar MichelJuillard
Browse files

setting dr.state_var for purely backward models

parent b34be496
Pipeline #5750 passed with stages
in 81 minutes and 5 seconds
......@@ -216,6 +216,7 @@ if M_.maximum_endo_lead == 0
% backward models: simplified code exist only at order == 1
if local_order == 1
[k1,~,k2] = find(kstate(:,4));
dr.state_var = k2;
dr.ghx(:,k1) = -b\jacobia_(:,k2);
if M_.exo_nbr
dr.ghu = -b\jacobia_(:,nz+1:end);
......
Markdown is supported
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