Indexing improvements

This commit is contained in:
2024-04-20 13:41:41 +02:00
parent 876457e9c0
commit 4e8c3a88a7
56 changed files with 742 additions and 187 deletions
+1 -2
View File
@@ -86,14 +86,13 @@ TEST_CASE("FastFeedbackIndexer","[Indexing]") {
IndexerWrapper wrapper;
wrapper.Setup(c);
auto ret = wrapper.Run(recip);
auto ret = wrapper.Run(recip, 0.05f);
REQUIRE(!ret.empty());
//auto uc = ret[0].GetUnitCell();
//REQUIRE(c.a == Approx(uc.a));
//REQUIRE(c.b == Approx(uc.b));
//REQUIRE(c.c == Approx(uc.c));
REQUIRE(ret[0].indexed_spots_count == recip.size());
double err[3] = {0.0, 0.0, 0.0};
for (const auto &iter: recip) {