Instrument state and unit cell refinement broken
Calls to Refiner::refine
from the Python interface give the following error:
RuntimeError: init.c(32): permutation length n must be positive integer (1)
This seems to be a result of an undefined number of degrees of freedom, but I can only trace the error to the GSL. The crash appears to originate from Minimizer::initialise
, in the line
_gsl->workspace =
gsl_multifit_nlinear_alloc(gsl_multifit_nlinear_trust, &_gsl->fdfParams, _numValues, nfree);
specifically the parameter nfree
.