From 6e4e16a378b20108714bf74efabf312c09065b49 Mon Sep 17 00:00:00 2001 From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152> Date: Mon, 14 May 2007 08:56:39 +0000 Subject: [PATCH] v4 ReshapeMatFiles.m: fixed bug introduced in r1103 when there is only one stored file git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1276 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/ReshapeMatFiles.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matlab/ReshapeMatFiles.m b/matlab/ReshapeMatFiles.m index 133ecd487b..89720ddc8b 100644 --- a/matlab/ReshapeMatFiles.m +++ b/matlab/ReshapeMatFiles.m @@ -100,6 +100,7 @@ end else load([MhDirectoryName M_.fname '_' type '1']); %eval(['STOCK_' CAPtype ' = sort(stock_' type ',4);']) + eval(['STOCK_' CAPtype ' = stock_' type ';']) save([MhDirectoryName M_.fname '_' CAPtype 's' int2str(1)],['STOCK_' CAPtype ]); end % Original file format may be useful in some cases... @@ -135,6 +136,7 @@ end else load([MhDirectoryName M_.fname '_' type '1']); %eval(['STOCK_' CAPtype ' = sort(stock_' type ',3);']) + eval(['STOCK_' CAPtype ' = stock_' type ';']) save([MhDirectoryName M_.fname '_' CAPtype 's' int2str(1)],['STOCK_' CAPtype ]); end % Original file format may be useful in some cases... -- GitLab