From 9cf352e471a5d2f17211796b238a0165f48c0ae4 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Thu, 30 Apr 2015 15:23:43 +0200 Subject: [PATCH] bug fix in check_valid_ver --- matlab/check_valid_ver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/check_valid_ver.m b/matlab/check_valid_ver.m index 4cd75cd77..9b61813ad 100644 --- a/matlab/check_valid_ver.m +++ b/matlab/check_valid_ver.m @@ -28,7 +28,7 @@ function check_valid_ver(ver) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . -test_ver = splitver(ver); +test_ver = strsplit(ver, {'.', '-'}); errmsg = 'check_valid_ver: the desired version must be in the proper format'; assert (length(test_ver) == 3 && ... ~isempty(str2double(test_ver{1})) && ...