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

Compatibility fix for Octave 6

parent 6b931b0b
Branches
Tags
No related merge requests found
......@@ -263,8 +263,8 @@ for it_=start:incr:finish
if verbose==1
disp('steady: csolve')
end
[yn,info] = csolve(@local_fname, y(y_index_eq),@ ...
local_fname,1e-6,500, x, params, steady_state, y, y_index_eq, fname, 1);
[yn,info] = csolve(@local_fname, y(y_index_eq), ...
@local_fname,1e-6,500, x, params, steady_state, y, y_index_eq, fname, 1);
dx = ya - yn;
y(y_index_eq) = yn;
elseif (stack_solve_algo==1 && is_dynamic) || (stack_solve_algo==0 && is_dynamic) || (~is_dynamic && (options.solve_algo==1 || options.solve_algo==6))
......@@ -407,4 +407,4 @@ y(y_index_eq) = yl;
[err, y, G] = feval(fname, y, x, params, steady_state, 0);
if(is_csolve)
G = full(G);
end
\ No newline at end of file
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment