From f577a91a0518c8802b85d546e02734554d110c3a Mon Sep 17 00:00:00 2001
From: Olivier Sauter <Olivier.Sauter@epfl.ch>
Date: Sat, 2 May 2020 14:31:10 +0200
Subject: [PATCH] last modif before rm to use CXRS_analysis svn

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

diff --git a/matlab/TCV/CXRS_get_profiles.m b/matlab/TCV/CXRS_get_profiles.m
index a527043d..0ac5f1c4 100644
--- a/matlab/TCV/CXRS_get_profiles.m
+++ b/matlab/TCV/CXRS_get_profiles.m
@@ -90,7 +90,7 @@ elseif isa(inparg{2},'char'),
       cmd=sprintf('help %s',s); eval(cmd); cxrs_profiles.OK=-9999; return;
    end
 elseif isa(inparg{2},'numeric'),
-   if ((inparg{2} >= -1)&(inparg{2} <= 4)),
+   if ((inparg{2} >= 0)&(inparg{2} <= 4)),
       sys=inparg{2};
    else
       cmd=sprintf('help %s',s); eval(cmd); cxrs_profiles.OK=0; return;
-- 
GitLab