astrorama / SourceXtractorPlusPlus

SourceXtractor++, the next generation SExtractor
https://astrorama.github.io/SourceXtractorPlusPlus/
GNU Lesser General Public License v3.0
72 stars 9 forks source link

Iterative fitting bug with ranges #561

Closed marcschefer closed 8 months ago

marcschefer commented 8 months ago

Fixes a bug with iterative fitting using the current value of parameters for the range instead of initial value.

The range was reinitialized each meta iteration using the current value of the fit instead of the initial value. This would allow some parameters to diverge outside the expected range.

mkuemmel commented 8 months ago

It works for me! The ranges are maintained in the Euclid example. Thanks!