Skip to content
Snippets Groups Projects
Commit ce1fa934 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix wrong count of state variables with block option

oo_.dr.npred counts both purely backward and mixed/both variables
parent 8c40a88d
No related branches found
Tags
No related merge requests found
......@@ -89,7 +89,7 @@ if ~options_.noprint
disp([' Number of variables: ' int2str(M_.endo_nbr)])
disp([' Number of stochastic shocks: ' int2str(M_.exo_nbr)])
if (options_.block)
disp([' Number of state variables: ' int2str(oo_.dr.npred+oo_.dr.nboth)])
disp([' Number of state variables: ' int2str(oo_.dr.npred)])
disp([' Number of jumpers: ' int2str(oo_.dr.nfwrd+oo_.dr.nboth)])
else
disp([' Number of state variables: ' ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment