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
Dóra Kocsis
dynare
Commits
36e3fb49
Commit
36e3fb49
authored
Oct 04, 2013
by
Stéphane Adjemian
Browse files
Do not crash if an unknown optimization option is declared (replaced an error by a warning).
parent
b685fe61
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare_estimation_1.m
View file @
36e3fb49
...
...
@@ -282,7 +282,7 @@ if ~isequal(options_.mode_compute,0) && ~options_.mh_posterior_mode_estimation
case
'
''
NumgradEpsilon
''
'
epsilon
=
str2double
(
options_list
{
2
*
(
o
-
1
)
+
2
});
otherwise
error
([
'csminwel: Unknown option ('
options_list
{
2
*
(
o
-
1
)
+
1
}
')!'
])
warning
([
'csminwel: Unknown option ('
options_list
{
2
*
(
o
-
1
)
+
1
}
')!'
])
end
o
=
o
+
1
;
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