From 7550c42e64fc91fa72f9e8eda638f69697c6b913 Mon Sep 17 00:00:00 2001 From: Stefan Schmiederer <sschmied@esrf.fr> Date: Thu, 5 Sep 2013 13:51:04 +0200 Subject: [PATCH] Bugfix for crash during gtSetupReconstruction: type of parameters.rec.method was set to 'double' instead of 'char' which resulted in an error. gtModifyStructure showed empty field and didn't save the given method, either 3DART or 2DFBP, therefore crashing at gtAstraAbsorption because no method was given. Signed-off-by: Stefan Schmiederer <sschmied@esrf.fr> --- zUtil_Parameters/build_list_v2.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zUtil_Parameters/build_list_v2.m b/zUtil_Parameters/build_list_v2.m index c5cd6ce9..0387c1cf 100644 --- a/zUtil_Parameters/build_list_v2.m +++ b/zUtil_Parameters/build_list_v2.m @@ -771,7 +771,7 @@ list.fsim{end+1,1} = 'oversizeVol'; list.fsim{end,2} = 'Grain %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% list.rec = []; list.rec{end+1,1} = 'method'; list.rec{end,2} = 'method for the absorption reconstruction ''3DART''/''2DFBP'''; - list.rec{end,3} = 'double'; + list.rec{end,3} = 'char'; list.rec{end,4} = 1; list.rec{end+1,1} = 'list'; list.rec{end,2} = 'list of grainID to be reconstructed'; list.rec{end,3} = 'double'; -- GitLab