Skip to content
Snippets Groups Projects
Commit bb55e9ec authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'Octave' into 'master'

Clean up code related to fixed Octave bugs

See merge request Dynare/dynare!2180
parents e335fed2 ff83c4ae
Branches
No related tags found
No related merge requests found
...@@ -66,13 +66,7 @@ else ...@@ -66,13 +66,7 @@ else
updated_params_flag = 0; updated_params_flag = 0;
end end
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']); 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 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(1) = 24;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment