core/peakfit/fit_wrapper.cpp has a local fct lmcurve2 that differs from fct lmcurve2 in library lmfit