Skip to content
GitLab
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
0a4427af
Commit
0a4427af
authored
Nov 16, 2013
by
Stéphane Adjemian
Browse files
Fixed bug in simplex_optimization_routine (simplex -> options).
Closes #536.
parent
c8d77b20
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/simplex_optimization_routine.m
View file @
0a4427af
...
...
@@ -44,8 +44,8 @@ verbose = 2;
number_of_variables
=
length
(
x
);
% get options.
if
isempty
(
simplex
.
maxfcall
)
max_func_calls
=
simplex
.
maxfcallfactor
*
number_of_variables
if
isempty
(
options
.
maxfcall
)
max_func_calls
=
options
.
maxfcallfactor
*
number_of_variables
end
% Set tolerance parameter.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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