Fix bug in detector initialize
This commit is contained in:
@@ -15,7 +15,7 @@ std::vector<IndexingResult> IndexerWrapper::Run(const std::vector<Coord> &coord)
|
||||
if (coord.size() <= min_spots)
|
||||
return ret;
|
||||
|
||||
size_t nspots = std::min<size_t>(MAX_SPOTS_TO_INDEX, coord.size());
|
||||
size_t nspots = std::min<size_t>(MAX_SPOT_COUNT, coord.size());
|
||||
|
||||
for (int i = 0; i < nspots; i++) {
|
||||
indexer.spotX(i) = coord[i].x;
|
||||
|
||||
Reference in New Issue
Block a user