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

This commit is contained in:
2026-02-18 14:32:17 +01:00
parent b77ba44de1
commit b2dda42db9
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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;
}