Index: /trunk/psphot/src/psphotMergeSources.c
===================================================================
--- /trunk/psphot/src/psphotMergeSources.c	(revision 20328)
+++ /trunk/psphot/src/psphotMergeSources.c	(revision 20329)
@@ -62,5 +62,5 @@
 
     pmDetections *detections = pmDetectionsAlloc();
-  
+
     psArray *sources = psMetadataLookupPtr (NULL, readout->analysis, "PSPHOT.SOURCES");
     if (!sources) {
@@ -82,7 +82,8 @@
         peak->yf = ypos;
         peak->flux = 1.0;
+        peak->SN = INFINITY;
 
-	psArrayAdd (detections->peaks, 100, peak);
-	psFree (peak);
+        psArrayAdd (detections->peaks, 100, peak);
+        psFree (peak);
     }
 
