Skip to content
Snippets Groups Projects
Commit 311ddd46 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

fix case empty shot input

parent a8ec032a
Branches
Tags
1 merge request!159fix case empty shot input
Pipeline #199578 passed
......@@ -188,7 +188,7 @@ try
args = [{shot,data_request},varargin_eff];
end
% treat multiple shot numbers
if nargin > 0 && isnumeric(shot)
if nargin > 0 && isnumeric(shot) && ~isempty(shot)
args_in = args;
for i=1:numel(shot)
args{1} = shot(i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment