Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marco Ratto
dynare
Commits
4ba0f0a9
Unverified
Commit
4ba0f0a9
authored
Oct 20, 2020
by
Sébastien Villemot
Browse files
LMMCP: don’t report a wrong maxerror, rather put NaN
parent
46da76c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/perfect-foresight-models/perfect_foresight_solver_core.m
View file @
4ba0f0a9
...
...
@@ -116,7 +116,9 @@ else
end
if
nargout
>
1
if
options_
.
block
&&
~
options_
.
bytecode
if
options_
.
lmmcp
.
status
maxerror
=
NaN
;
% Could be improved
elseif
options_
.
block
&&
~
options_
.
bytecode
maxerror
=
oo_
.
deterministic_simulation
.
error
;
else
if
options_
.
bytecode
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment