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

add dim if not existing

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@5190 d63d8f72-b253-0410-a779-e742ad2e26cf
parent b5e2490f
No related branches found
No related tags found
No related merge requests found
......@@ -166,6 +166,7 @@ try
catch
warning(['problems calling gdat_' lower(machine_eff)]);
if ~exist('gdat_data'); gdat_data.data = []; end
if ~isfield(gdat_data,'dim'); gdat_data.dim=[]; end
if ~exist('gdat_params'); gdat_params.plot = []; end
if ~exist('error_status'); error_status = 998; end
return
......
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