Verified Commit fc27fad4 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: Do not simplify constant equations which have a tag attached

In particular, in the case of an 'mcp' tag, this could lead to a convergence
failure.

Also modify the lmmpc/rbcii.mod test so that it fails if convergence is not
obtained, in order to detect such regressions earlier.

Closes: #1697

This preprocessor update also includes the following changes:
— removal of license.txt, now merged in back in the main Dynare one
– various code simplifications and modernizations in the macro processor
— minor code simplification in parsing of the --+ options: … +-- line
parent 22053feb
Subproject commit a8b7bd31c58f3afe4f35b90fe56f0ae8509efaea
Subproject commit bef537d40accd597c19f112471974b726c9c9890
......@@ -53,7 +53,11 @@ end;
steady;
perfect_foresight_setup(periods=400);
perfect_foresight_solver(lmmcp, maxit=200);
perfect_foresight_solver(lmmcp, maxit=200, no_homotopy);
if ~oo_.deterministic_simulation.status
error('Convergence not obtained')
end
n = 40;
......
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