From a4b68619a42c38a00a24a21e212838b02049f522 Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Thu, 15 Oct 2015 11:14:33 +0000
Subject: [PATCH] call \results::thomson:psiscatvol through gdat to have data
 in case need foo

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

diff --git a/crpptbx/TCV/gdat_tcv.m b/crpptbx/TCV/gdat_tcv.m
index 8c3d0003..5dec42a3 100644
--- a/crpptbx/TCV/gdat_tcv.m
+++ b/crpptbx/TCV/gdat_tcv.m
@@ -836,8 +836,8 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
       edge_str_ = '_edge';
       edge_str_dot = '.edge';
     end
-    psi_max=tdi(['\results::thomson' edge_str_dot ':psi_max' substr_liuqe]);
-    psiscatvol=tdi(['\results::thomson' edge_str_dot ':psiscatvol' substr_liuqe]);
+    psi_max=gdat([],['\results::thomson' edge_str_dot ':psi_max' substr_liuqe]);
+    psiscatvol=gdat([],['\results::thomson' edge_str_dot ':psiscatvol' substr_liuqe]);
     if abs(zshift)>1e-5
       % calculate new psiscatvol
       psitdi=tdi(['\results::psi' substr_liuqe]);
-- 
GitLab