XtalOptimizer: Remove Cauchy leftovers
This commit is contained in:
@@ -415,10 +415,6 @@ bool XtalOptimizerInternal(XtalOptimizerData &data,
|
||||
|
||||
const float tolerance_sq = tolerance * tolerance;
|
||||
|
||||
// Choose robust loss function
|
||||
// Cauchy is excellent for crystallography - handles both small errors and gross outliers
|
||||
const double loss_scale = tolerance / 3; // Tune based on typical residual magnitude
|
||||
|
||||
// Add residuals for each point
|
||||
for (const auto &pt: spots) {
|
||||
if (!data.index_ice_rings && pt.ice_ring)
|
||||
|
||||
Reference in New Issue
Block a user