Index: trunk/psModules/src/objects/pmSourcePhotometry.c
===================================================================
--- trunk/psModules/src/objects/pmSourcePhotometry.c	(revision 15105)
+++ trunk/psModules/src/objects/pmSourcePhotometry.c	(revision 15107)
@@ -3,6 +3,6 @@
  *  @author EAM, IfA; GLG, MHPCC
  *
- *  @version $Revision: 1.35 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-09-29 02:35:06 $
+ *  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-09-29 03:14:55 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -99,5 +99,5 @@
     if (psf->FluxScale) {
 	// the source peak pixel is guaranteed to be on the image, and only minimally different from the source center
-	double fluxScale = pmTrend2DEval (psf->ApTrend, (float)source->peak->x, (float)source->peak->y);
+	double fluxScale = pmTrend2DEval (psf->FluxScale, (float)source->peak->x, (float)source->peak->y);
 	if (!isfinite(fluxScale)) {
 	    // XXX objects on the edge can be slightly outside -- if we get an 
