From 53ba22dbc40d17c8ca77647d4ca2edad230f9f8a Mon Sep 17 00:00:00 2001 From: Anna Bergamaschi Date: Tue, 18 Feb 2020 11:37:10 +0100 Subject: [PATCH] fixed for current rectangular sensor geometry --- slsDetectorCalibration/moenchExecutables/moenchZmqProcess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;