Commit 721a8723 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix crash of check(solve_algo=0) under Octave

dynare_solve.m calls str2func on the function name, so it crashes if it is
passed a function handle. It needs to be passed a string.
parent 99da257e
......@@ -123,7 +123,7 @@ steady_state = oo.steady_state;
check1 = 0;
% testing for steadystate file
if (~options.bytecode)
fh = str2func([M.fname '_static']);
fh = [M.fname '_static'];
if options.steadystate_flag
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment