fix jungfrauModuleData empty if statement

This commit is contained in:
2023-08-04 16:12:27 +02:00
parent 0ee54be252
commit 78cbe8e660
2 changed files with 20 additions and 4 deletions

View File

@ -257,7 +257,7 @@ int main(int argc, char *argv[]) {
std::cout << "Detector size is " << nx << " " << ny << std::endl;
//Cluster finder ROI
int xmin = 0, xmax = nx, ymin = 0, ymax = ny;
int xmin = 0, xmax = nx-1, ymin = 0, ymax = ny-1;
if (argc >= 16) {
xmin = atoi(argv[12]);
xmax = atoi(argv[13]);