-
- Downloads
LMMCP / linear perfect foresight: fix bug for models with a single equation
The routines use the find() function applied to a subset of columns of the Jacobian, which in this case is a row vector. When passed a row vector, find() returns row vectors (while it returns column vectors when passed a column vector or a matrix). This case was not correctly handled.
Showing
- matlab/perfect-foresight-models/linear_perfect_foresight_problem.m 21 additions, 1 deletion...rfect-foresight-models/linear_perfect_foresight_problem.m
- matlab/perfect-foresight-models/perfect_foresight_mcp_problem.m 21 additions, 1 deletion.../perfect-foresight-models/perfect_foresight_mcp_problem.m
Loading