diff --git a/slsDetectorCalibration/moenchExecutables/moenchZmqProcess.cpp b/slsDetectorCalibration/moenchExecutables/moenchZmqProcess.cpp index 9316a9570..8b685cb34 100644 --- a/slsDetectorCalibration/moenchExecutables/moenchZmqProcess.cpp +++ b/slsDetectorCalibration/moenchExecutables/moenchZmqProcess.cpp @@ -103,7 +103,7 @@ int main(int argc, char *argv[]) { nSubPixelsX=atoi(argv[6]); nSubPixelsY=nSubPixelsX; #ifdef RECT - nSubPixelsY=2; + nSubPixelsX=2; #endif } cout << "Number of subpixels is: " << nSubPixelsX << " " << nSubPixelsY << endl;