Skip to content
Snippets Groups Projects
Commit 3dfc8b7a authored by Andrew King's avatar Andrew King Committed by Nicola Vigano
Browse files

changed str2double to str2num because str2double can't do matrices (for teh

second time!)

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@813 4c865b51-4357-4376-afb4-474e03ccb993
parent 856b4180
No related branches found
No related tags found
No related merge requests found
......@@ -214,7 +214,7 @@ if (parameters.acq.no_direct_beam)
parameters.prep.bbox = parameters.acq.bb;
else
parameters.acq.bb = inputwdefault('Insert the "sample bounding box" (without squared brackets)',num2str(parameters.acq.bb));
parameters.acq.bb = str2double(parameters.acq.bb);
parameters.acq.bb = str2num(parameters.acq.bb);
parameters.prep.bbox = parameters.acq.bb;
parameters.acq.bbdir = parameters.acq.bb;
end
......
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