From 5c75c301046ba6be74e9f3040614a7e3e7a84603 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemia=20=28Scylla=29?= <stepan@dynare.org>
Date: Mon, 4 Feb 2019 16:24:37 +0100
Subject: [PATCH] Fixed matlab warning.

[skip ci]
---
 matlab/dynare_config.m | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/matlab/dynare_config.m b/matlab/dynare_config.m
index ab1910440..2b7c7e225 100644
--- a/matlab/dynare_config.m
+++ b/matlab/dynare_config.m
@@ -245,6 +245,8 @@ if verbose
 end
 
 % Initialization of the dates and dseries classes (recursive).
-dseries().initialize();
+octaveworkaround = dseries();
+octaveworkaround.initialize();
+clear octaveworkaround;
 
 cd(origin);
-- 
GitLab