From 379b9b53b4c82a574829f816f4c757a40569d8e8 Mon Sep 17 00:00:00 2001 From: Anna Bergamaschi Date: Wed, 6 May 2020 12:02:22 +0200 Subject: [PATCH] fixed still one index in cluster finder --- slsDetectorCalibration/singlePhotonDetector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorCalibration/singlePhotonDetector.h b/slsDetectorCalibration/singlePhotonDetector.h index fccf01774..5a30341f4 100644 --- a/slsDetectorCalibration/singlePhotonDetector.h +++ b/slsDetectorCalibration/singlePhotonDetector.h @@ -490,7 +490,7 @@ int *getClusters(char *data, int *ph=NULL) { // (clusters+nph)->ped=getPedestal(ix,iy,0); for (ir=-(clusterSizeY/2); ir<(clusterSizeY/2)+1; ir++) { for (ic=-(clusterSize/2); ic<(clusterSize/2)+1; ic++) { - if ((iy+ir)=0 && (iy+ir)=0 && (ix+ic)set_data(val[iy+ir][ix+ic],ic,ir); } }