mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-22 02:52:19 +01:00
size
This commit is contained in:
@@ -101,7 +101,7 @@ class multiSlsDetectorClient {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (parser.detector_id() >= detPtr->getNumberOfDetectors()) {
|
||||
if (parser.detector_id() >= detPtr->size()) {
|
||||
os << "position is out of bounds.\n";
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user