From f6c2567120f81d08529987dd9f8afa5beb352cbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Tue, 9 Mar 2021 12:41:07 +0100
Subject: [PATCH] Compatibility fix for Octave 6

---
 matlab/solve_one_boundary.m | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/matlab/solve_one_boundary.m b/matlab/solve_one_boundary.m
index f36f0e3488..006704b90e 100644
--- a/matlab/solve_one_boundary.m
+++ b/matlab/solve_one_boundary.m
@@ -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
-- 
GitLab