This commit is contained in:
2019-08-09 12:11:42 +02:00
parent a3c5c16417
commit 1a60b59a48
12 changed files with 22 additions and 26 deletions

View File

@@ -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;
}