Index: trunk/ppSim/src/ppSimPhotomReadoutFake.c
===================================================================
--- trunk/ppSim/src/ppSimPhotomReadoutFake.c	(revision 20403)
+++ trunk/ppSim/src/ppSimPhotomReadoutFake.c	(revision 21170)
@@ -98,5 +98,5 @@
 
     // calculate source magnitudes (for which set??)
-    psphotMagnitudes(config, view, fakeSources, recipe, psf);
+    psphotMagnitudes(config, readout, view, fakeSources, psf);
 
     // drop the references to the image pixels held by each source
