Index: trunk/psphot/src/psphotReadout.c
===================================================================
--- trunk/psphot/src/psphotReadout.c	(revision 13304)
+++ trunk/psphot/src/psphotReadout.c	(revision 13348)
@@ -170,5 +170,5 @@
        psArray *newFootprints = psphotFindPeaks (readout, recipe, useFootprints, 2);
 
-       psphotCullPeaks(readout, recipe, newFootprints);
+       psphotCullPeaks(readout->image, readout->weight, recipe, newFootprints);
 
        newPeaks = pmFootprintArrayToPeaks(newFootprints);
