From 12ad036629b99a2cba171417221ae72430ed1a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemia=20=28Scylla=29?= <stepan@dynare.org> Date: Wed, 23 Jan 2019 17:10:15 +0100 Subject: [PATCH] Fixed path. --- tests/runalltests.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/runalltests.m b/tests/runalltests.m index db142da..b82d9c6 100644 --- a/tests/runalltests.m +++ b/tests/runalltests.m @@ -1,6 +1,6 @@ function runalltests() -% Copyright (C) 2015-2018 Dynare Team +% Copyright (C) 2015-2019 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by @@ -15,8 +15,7 @@ function runalltests() % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. -dseries_src_root = []; % Initialize path as an array to be updated - % when calling initialize_dseries_toolbox() script. +dseries_src_root = strrep(which('runalltests'),'tests/runalltests.m',''); opath = path(); -- GitLab