Index: trunk/ppSim/src/ppSimPhotomReadout.c
===================================================================
--- trunk/ppSim/src/ppSimPhotomReadout.c	(revision 20403)
+++ trunk/ppSim/src/ppSimPhotomReadout.c	(revision 21170)
@@ -142,6 +142,6 @@
     // calculate source magnitudes (for which set??)
     pmReadout *background = psphotSelectBackground (config, view, false);
-    psphotMagnitudes(fakeSources, recipe, psf, background);
-    psphotMagnitudes(forceSources, recipe, psf, background);
+    psphotMagnitudes(config, background, view, fakeSources, psf);
+    psphotMagnitudes(config, background, view, forceSources, psf);
 
     // drop the references to the image pixels held by each source
