From 42ac57406bd601f87e24d4c3e4658d1432cc7ba5 Mon Sep 17 00:00:00 2001 From: Olivier Sauter <olivier.sauter@epfl.ch> Date: Mon, 12 Aug 2024 14:42:23 +0200 Subject: [PATCH] allow empty shot for single shot call --- matlab/gdat.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/gdat.m b/matlab/gdat.m index 0271c503..99271c74 100644 --- a/matlab/gdat.m +++ b/matlab/gdat.m @@ -188,7 +188,7 @@ try args = [{shot,data_request},varargin_eff]; end % treat multiple shot numbers - if nargin > 0 && isnumeric(shot) && ~isempty(shot) + if nargin > 0 && isnumeric(shot) args_in = args; if ~isempty(shot) for i=1:numel(shot) -- GitLab