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
8ce11bc8
Commit
8ce11bc8
authored
Oct 27, 2013
by
Johannes Pfeifer
Browse files
Take care of user-supplied function by checking whether mode_compute is numeric
Fixes #508
parent
4da6f102
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare_estimation.m
View file @
8ce11bc8
...
...
@@ -53,7 +53,8 @@ end
M_
.
dname
=
dname
;
if
options_
.
mode_compute
&&
options_
.
analytic_derivation
,
if
(
isnumeric
(
options_
.
mode_compute
)
&&
options_
.
mode_compute
&&
options_
.
analytic_derivation
)
...
%no user supplied function
||
(
~
isnumeric
(
options_
.
mode_compute
)
&&
options_
.
analytic_derivation
)
% user supplied function
analytic_derivation0
=
options_
.
analytic_derivation
;
options_
.
analytic_derivation
=
1
;
end
...
...
Write
Preview
Markdown
is supported
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