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.time-shift
parent
99da257ec3
commit
721a872343
|
@ -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'];
|
||||
end
|
||||
|
||||
if options.steadystate_flag
|
||||
|
|
Loading…
Reference in New Issue