From e754ec158ce87c0e06a0bf28b515f59bcbaac4fd Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Fri, 17 Sep 2021 10:47:01 +0200
Subject: [PATCH] =?UTF-8?q?stab=5Fmap=5F.m:=20move=20saved=20file=20to=20s?=
 =?UTF-8?q?ubfolder=C2=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 matlab/gsa/stab_map_.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/gsa/stab_map_.m b/matlab/gsa/stab_map_.m
index 766963a059..8ed41f6e77 100644
--- a/matlab/gsa/stab_map_.m
+++ b/matlab/gsa/stab_map_.m
@@ -696,7 +696,7 @@ else
 end
 
 xparam1=x0;
-save prior_ok.mat xparam1;
+save([OutputDirectoryName filesep 'prior_ok.mat'],'xparam1');
 
 options_.periods=opt.periods;
 if isfield(opt,'nomoments')
-- 
GitLab