Indexing: fix indexing tolerance square data type

This commit is contained in:
2025-12-17 21:03:17 +01:00
parent 159c32138d
commit fe6e3cb15a
+1 -1
View File
@@ -113,7 +113,7 @@ inline std::vector<CrystalLattice> Refine(const std::vector<Coord> &in_spots,
float min_score = -1;
int64_t id = -1;
const auto float indexing_tolerance_sq = p.indexing_tolerance * p.indexing_tolerance;
const float indexing_tolerance_sq = p.indexing_tolerance * p.indexing_tolerance;
for (int i = 0; i < scores.size(); i++) {
// Get cell vectors