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
Johannes Pfeifer
dynare
Commits
16fa6efc
Commit
16fa6efc
authored
Sep 26, 2012
by
Marco Ratto
Browse files
Replace NaN with numeric penalty when diffuse filter does not kill unit roots.
parent
4fd6ebca
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dsge_likelihood.m
View file @
16fa6efc
...
...
@@ -428,8 +428,8 @@ switch DynareOptions.lik_init
diffuse_periods
=
length
(
dlik
);
end
if
isnan
(
dLIK
),
fval
=
dLIK
;
info
=
45
;
fval
=
objective_function_penalty_base
+
100
;
exit_flag
=
0
;
return
end
...
...
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