From 44956977225a095534c1c2f3d95e438b4242693e Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Wed, 13 Mar 2019 12:46:41 +0000
Subject: [PATCH] add link to sauter folder for ids_structures.mat file

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@11565 d63d8f72-b253-0410-a779-e742ad2e26cf
---
 crpptbx/TCV/gdat_tcv.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crpptbx/TCV/gdat_tcv.m b/crpptbx/TCV/gdat_tcv.m
index fe526e8c..ac276d35 100644
--- a/crpptbx/TCV/gdat_tcv.m
+++ b/crpptbx/TCV/gdat_tcv.m
@@ -1097,7 +1097,7 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
         warning(['function ids_gen not available neither file ids_structures_20190312.mat thus cannot create empty ids: ids_gen(''' ids_top_name ''')']);
         return
       else
-        load ids_structures_20190312.mat
+        eval(['load ' ids_struct_saved])
         if isfield(ids_structures,ids_top_name)
           equil_empty = ids_structures.(ids_top_name);
         else
-- 
GitLab