perfect_foresight_solver_core.m: fix Fortran not

trustregion
Johannes Pfeifer 2022-03-25 14:22:46 +01:00
parent facab0f81b
commit 1ed765b8c4
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if options_.linear && (isequal(options_.stack_solve_algo, 0) || isequal(options_
options_.linear_approximation = true;
end
if options_.slowc != 1 && (options_.block || options_.bytecode)
if options_.slowc ~= 1 && (options_.block || options_.bytecode)
% The code is buggy and leads to wrong results, so forbid this combination
error('Changing the value of the slowc option is not supported with block and/or bytecode option')
end