under gdb, hanging at 99% in "Build shape model" while source line comment says "does nothing"
Running OpenHKL on Ryzen 9 under Debian/testing in Debug mode.
Execution hangs for 10 minutes or longer at Shape model > Build shape model
with progress bar showing 99%
.
Interrupted with ^C and looked at backtrace.
...
#17 0x00007ffff732488c in gsl_multifit_nlinear_driver ()
from /lib/x86_64-linux-gnu/libgsl.so.27
#18 0x0000555555b1b7a0 in ohkl::Minimizer::fit (this=0x7fffffffc8b0,
max_iter=1000) at /G/sw/ohkl/base/fit/Minimizer.cpp:164
#19 0x00005555559b3356 in ohkl::ShapeModel::updateFit (this=0x555556892220,
num_iterations=1000) at /G/sw/ohkl/core/shape/ShapeModel.cpp:230
#20 0x0000555555685644 in SubframeShapes::buildShapeModel (this=0x555556892080)
at /G/sw/ohkl/gui/subframe_shapes/SubframeShapes.cpp:484
#21 0x000055555568f0ff in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (SubframeShapes::*)()>::call(void (SubframeShapes::*)(), SubframeShapes*, void**) (
f=(void (SubframeShapes::*)(SubframeShapes * const)) 0x5555556851dc <SubframeShapes::buildShapeModel()>, o=0x555556892080, arg=0x7fffffffd170)
at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
...
Code line SubframeShapes.cpp:484 is
_shape_model.updateFit(1000); // This does nothing!! - zamaan
Why not remove this call if it does nothing?