From 307e070e7e2cdbd94ac59950546cc85439dd9667 Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Mon, 15 Feb 2021 12:42:58 +0000
Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s)

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

diff --git a/matlab/TCV_IMAS/ids2database.m b/matlab/TCV_IMAS/ids2database.m
index 2d5f1853..40f83746 100644
--- a/matlab/TCV_IMAS/ids2database.m
+++ b/matlab/TCV_IMAS/ids2database.m
@@ -87,7 +87,7 @@ if isempty(dummy1)
 else
   % get effective function between ids_list and IDS_list (which or exist not sufficient)
   [dummy2,ids_list_eff]=fileparts(dummy1);
-  eval(['ids_full_list = ' ids_list_eff ';']);
+  ids_full_list = feval(ids_list_eff);
 end
 ids_names_notok = setdiff(ids_names,ids_full_list);
 if ~isempty(ids_names_notok)
-- 
GitLab