IndexAndRefine: Use optimized goniometer axis

This commit is contained in:
2026-01-27 19:17:28 +01:00
parent 5ca793a2fa
commit 0212bfa076
+1 -1
View File
@@ -28,7 +28,7 @@ IndexAndRefine::IndexingOutcome IndexAndRefine::DetermineLatticeAndSymmetry(Data
if (result) {
// get rotated lattice
auto gon = experiment.GetGoniometer();
auto gon = result->axis;
if (gon) {
const float angle_deg = gon->GetAngle_deg(msg.number) + gon->GetWedge_deg() / 2.0f;
outcome.lattice_candidate = result->lattice.Multiply(gon->GetTransformationAngle(-angle_deg));