Indexing: fix indexing tolerance square data type
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user