From e43dcbf2be7747f2a3a0df6637a71ed066036ca9 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Tue, 2 Dec 2025 07:21:50 +0100 Subject: [PATCH] jfjoch_indexing_test: Fix --- tools/jfjoch_indexing_test.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tools/jfjoch_indexing_test.cpp b/tools/jfjoch_indexing_test.cpp index d45daef5..fcd1a6f9 100644 --- a/tools/jfjoch_indexing_test.cpp +++ b/tools/jfjoch_indexing_test.cpp @@ -62,7 +62,7 @@ int main(int argc, char** argv) { logger.Info("Image {} {}", i, cnt); } - auto latt_1 = rot_index.Finalize(false); + auto latt_1 = rot_index.Finalize(); if (latt_1) { auto uc = latt_1->lattice.GetUnitCell(); logger.Info("Unit cell {} {} {} {} {} {}", uc.a, uc.b, uc.c, uc.alpha, uc.beta, uc.gamma); @@ -70,13 +70,4 @@ int main(int argc, char** argv) { logger.Info("Latt1 {} {} {}", latt_1->lattice.Vec1().x, latt_1->lattice.Vec1().y, latt_1->lattice.Vec1().z); logger.Info("Latt1 {} {} {}", latt_1->lattice.Vec2().x, latt_1->lattice.Vec2().y, latt_1->lattice.Vec2().z); } - auto latt_2 = rot_index.Finalize(true); - if (latt_2) { - - auto uc = latt_2->lattice.GetUnitCell(); - logger.Info("Unit cell {} {} {} {} {} {}", uc.a, uc.b, uc.c, uc.alpha, uc.beta, uc.gamma); - logger.Info("Latt1 {} {} {}", latt_2->lattice.Vec0().x, latt_2->lattice.Vec0().y, latt_2->lattice.Vec0().z); - logger.Info("Latt1 {} {} {}", latt_2->lattice.Vec1().x, latt_2->lattice.Vec1().y, latt_2->lattice.Vec1().z); - logger.Info("Latt1 {} {} {}", latt_2->lattice.Vec2().x, latt_2->lattice.Vec2().y, latt_2->lattice.Vec2().z); - } } \ No newline at end of file