From ddc233a0283bbd1597147e645338eaef9e3cfd94 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Wed, 1 Jan 2025 10:38:28 +0100
Subject: [PATCH] :bug: fix gsa_sample_file option

Capitalization was wrong

(cherry picked from commit 8aaed032622dfc925a947932652146c36527ead8)
---
 matlab/+identification/run.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/+identification/run.m b/matlab/+identification/run.m
index 144e6d9e9b..58726fabf5 100644
--- a/matlab/+identification/run.m
+++ b/matlab/+identification/run.m
@@ -240,7 +240,7 @@ end
 
 % check for external draws, i.e. set pdraws0 for a gsa analysis
 if options_ident.gsa_sample_file
-    GSAFolder = checkpath('gsa',dname);
+    GSAFolder = CheckPath('gsa',dname);
     if options_ident.gsa_sample_file==1
         load([GSAFolder,filesep,fname,'_prior'],'lpmat','lpmat0','istable');
     elseif options_ident.gsa_sample_file==2
-- 
GitLab