From cc9d17e8543c2a13c6533852f30b8b926a242097 Mon Sep 17 00:00:00 2001
From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Fri, 5 Sep 2008 14:23:03 +0000
Subject: [PATCH] v4.0 v4.1: fixed buggy dynare_version.m

git-svn-id: https://www.dynare.org/svn/dynare/branches/4.0@2040 ac1d8469-bf42-47a9-8791-bf33cf982152
---
 matlab/dynare_version.m | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/matlab/dynare_version.m b/matlab/dynare_version.m
index 63376e8eb4..0a99b0b82c 100644
--- a/matlab/dynare_version.m
+++ b/matlab/dynare_version.m
@@ -1,6 +1,5 @@
-function dynare_version
-
-% function dynare_version
+function v = dynare_version
+% function v = dynare_version
 %	This command returns Dynare version number
 %
 % INPUTS
@@ -12,7 +11,7 @@ function dynare_version
 % SPECIAL REQUIREMENTS
 %   none
 
-% Copyright (C) 2001-2008 Dynare Team
+% Copyright (C) 2008 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -29,4 +28,4 @@ function dynare_version
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
-    return '4.0rc1'
+    v = '4.0rc1';
-- 
GitLab