BraggPrediction: Zeta set to 1.0 for stills, otherwise merging gets weird

This commit is contained in:
leonarski_f committed 2026-02-18 14:32:17 +01:00
1 parent b77ba44de1
commit b2dda42db9
2 files changed
+2 -2

No files matched your search

@@ -103,7 +103,7 @@ int BraggPrediction::Calc(const DiffractionExperiment &experiment, const Crystal
.dist_ewald = dist_ewald_sphere,
.rlp = 1.0,
.partiality = 1.0,
.zeta = NAN
.zeta = 1.0
};
++i;
}
@@ -84,7 +84,7 @@ namespace {
out.dist_ewald = dist_ewald;
out.rlp = 1.0f;
out.partiality = 1.0f;
out.zeta = NAN;
out.zeta = 1.0f;
return true;
}