From 221544a99a0838b8ff8f921fbeee4d7ccd67503c Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Thu, 26 May 2016 12:55:16 +0000
Subject: [PATCH] add dim{1} into .x in rhotor

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

diff --git a/crpptbx/TCV/gdat_tcv.m b/crpptbx/TCV/gdat_tcv.m
index a413e5ec..555bff0a 100644
--- a/crpptbx/TCV/gdat_tcv.m
+++ b/crpptbx/TCV/gdat_tcv.m
@@ -1346,6 +1346,7 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
       gdat_data.dimunits{1} = 'rhopol\_norm';
       gdat_data.dimunits{2} = 's';
     end
+    gdat_data.x=gdat_data.dim{1};
     for it=1:length(psi_axis.data)
       ij=find(~isnan(q_rho.data(:,it)));
       if ~isempty(ij)
-- 
GitLab