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
Camilo Marchesini
dynare
Commits
ad0bff37
Commit
ad0bff37
authored
Jan 24, 2018
by
Stéphane Adjemian
Browse files
Added comments.
parent
99e4cb6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/evaluate_steady_state_file.m
View file @
ad0bff37
...
...
@@ -70,9 +70,14 @@ else
updated_params_flag
=
0
;
end
if
M
.
set_auxiliary_variables
%otherwise Octave may crash, see https://savannah.gnu.org/bugs/?52568
if
M
.
set_auxiliary_variables
% Define function handle for the function setting the auxiliary
% variables only if the model has auxiliary variables. Otherwise
% Octave may crash (see https://savannah.gnu.org/bugs/?52568) because
% the function does not exist in the path.
h_set_auxiliary_variables
=
str2func
([
M
.
fname
'_set_auxiliary_variables'
]);
end
if
isnan
(
updated_params_flag
)
||
(
updated_params_flag
&&
any
(
isnan
(
params
(
~
isnan
(
params
))
-
params1
(
~
isnan
(
params
)))))
%checks if new NaNs were added
info
(
1
)
=
24
;
info
(
2
)
=
NaN
;
...
...
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