From afb0d3a24155e43f9aa711f92ad0b9534115d9f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Mon, 28 Jan 2019 14:40:57 +0100
Subject: [PATCH] Octave compatibility fix

---
 src/@dseries/initialize.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/@dseries/initialize.m b/src/@dseries/initialize.m
index b7778d1..4a42ad2 100644
--- a/src/@dseries/initialize.m
+++ b/src/@dseries/initialize.m
@@ -16,7 +16,7 @@ function initialize(fake)
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
 % Get the path to the dseries toolbox.
-dseries_src_root = strrep(which('@dseries/initialize'),'@dseries/initialize.m','');
+dseries_src_root = strrep(which('@dseries/initialize.m'),'@dseries/initialize.m','');
 
 % Check that the x13 binary is available
 nox13 = false;
-- 
GitLab