Index: trunk/psphot/src/psphotRadiusChecks.c
===================================================================
--- trunk/psphot/src/psphotRadiusChecks.c	(revision 5802)
+++ trunk/psphot/src/psphotRadiusChecks.c	(revision 5828)
@@ -20,7 +20,5 @@
 }
 
-bool psphotCheckRadiusPSF (eamReadout *imdata, pmSource *source) {
-
-    pmModel *model = source->modelPSF;
+bool psphotCheckRadiusPSF (eamReadout *imdata, pmSource *source, pmModel *model) {
 
     // set the fit radius based on the object flux limit and the model
@@ -64,7 +62,5 @@
 }
 
-bool psphotCheckRadiusFLT (eamReadout *imdata, pmSource *source) {
-
-    pmModel *model = source->modelFLT;
+bool psphotCheckRadiusFLT (eamReadout *imdata, pmSource *source, pmModel *model) {
 
     // set the fit radius based on the object flux limit and the model
