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

bug in dimunits loadTCVdata

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@1833 d63d8f72-b253-0410-a779-e742ad2e26cf
parent bf4887fd
No related branches found
No related tags found
No related merge requests found
...@@ -303,7 +303,8 @@ switch TCVkeywrdcase{index} ...@@ -303,7 +303,8 @@ switch TCVkeywrdcase{index}
end end
if length(tracetdi.dim)==1 if length(tracetdi.dim)==1
trace.dim=[{trace.t}]; trace.dim=[{trace.t}];
trace.dimunits(1)=tracetdi.dimunits(1); keyboard
trace.dimunits=tracetdi.dimunits(1);
elseif length(tracetdi.dim)==2 elseif length(tracetdi.dim)==2
trace.dim=[{trace.x} ; {trace.t}]; trace.dim=[{trace.x} ; {trace.t}];
trace.dimunits=[tracetdi.dimunits(ix) ; tracetdi.dimunits((2-ix)+1)]; trace.dimunits=[tracetdi.dimunits(ix) ; tracetdi.dimunits((2-ix)+1)];
......
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