Index: trunk/psphot/src/psphotDetectReadout.c
===================================================================
--- trunk/psphot/src/psphotDetectReadout.c	(revision 21353)
+++ trunk/psphot/src/psphotDetectReadout.c	(revision 21392)
@@ -30,5 +30,4 @@
     psAssert (psf, "psf should be loaded");
 
-
     // grab the sources of interest from the storage location (pmFPAfile PSPHOT.INPUT.CMF)
     psArray *sources = psphotLoadPSFSources (config, view);
@@ -59,5 +58,5 @@
 
     // calculate source magnitudes
-    psphotPSFWeights(config, readout, view, sources, psf);
+    psphotPSFWeights(config, readout, view, sources);
 
     // create the exported-metadata and free local data
