Index: trunk/psModules/src/imcombine/pmPSFEnvelope.c
===================================================================
--- trunk/psModules/src/imcombine/pmPSFEnvelope.c	(revision 23961)
+++ trunk/psModules/src/imcombine/pmPSFEnvelope.c	(revision 23973)
@@ -33,5 +33,5 @@
 
 
-//#define TESTING                         // Enable test output
+#define TESTING                         // Enable test output
 #define PEAK_FLUX 1.0e4                 // Peak flux for each source
 #define SKY_VALUE 0.0e0                 // Sky value for fake image
@@ -298,5 +298,5 @@
         }
 
-        if (!pmSourceMoments(source, radius)) {
+        if (!pmSourceMoments(source, maxRadius)) {
             // Can't do anything about it; limp along as best we can
             psErrorClear();
@@ -319,5 +319,5 @@
     options->poissonErrorsParams = true;
     options->stats = psStatsAlloc(PSF_STATS);
-    options->radius = radius;
+    options->radius = maxRadius;
     options->psfTrendMode = PM_TREND_MAP;
     options->psfTrendNx = xOrder;
