Skip to content
Snippets Groups Projects
Commit d250f17c authored by Antoine Merle's avatar Antoine Merle
Browse files

Bugfix: replace prod with all in gdat_plot

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@5548 d63d8f72-b253-0410-a779-e742ad2e26cf
parent d35b7f15
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ elseif isfield(gdat_data.gdat_params,'doplot') || ~isempty(gdat_data.gdat_params ...@@ -35,7 +35,7 @@ elseif isfield(gdat_data.gdat_params,'doplot') || ~isempty(gdat_data.gdat_params
end end
if doplot==0; return; end if doplot==0; return; end
if prod(isfield(gdat_data,{'data','t'})) && ~isempty(gdat_data.data) && ~isempty(gdat_data.t) if all(isfield(gdat_data,{'data','t'})) && ~isempty(gdat_data.data) && ~isempty(gdat_data.t)
fighandle = get(0,'CurrentFigure'); fighandle = get(0,'CurrentFigure');
if gdat_data.gdat_params.doplot == 1 if gdat_data.gdat_params.doplot == 1
fighandle = figure; fighandle = figure;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment