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