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
Sébastien Villemot 2011-10-12 18:48:36 +02:00
parent 99da257ec3
commit 721a872343
1 changed files with 1 additions and 1 deletions

View File

@ -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