Index: trunk/psModules/src/objects/pmPeaks.c
===================================================================
--- trunk/psModules/src/objects/pmPeaks.c	(revision 21513)
+++ trunk/psModules/src/objects/pmPeaks.c	(revision 21514)
@@ -6,6 +6,6 @@
  *  @author EAM, IfA: significant modifications.
  *
- *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2008-12-08 02:51:14 $
+ *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2009-02-16 22:30:14 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -63,6 +63,9 @@
         peak->xf = min.x + ix + image->col0;
         peak->yf = min.y + iy + image->row0;
-	peak->dx = NAN;
-	peak->dy = NAN;
+
+	// These errors are fractional errors, and should be scaled by the 
+	// error on the peak pixel (see, eg, psphotFindPeaks)
+	peak->dx = min.xErr;
+	peak->dy = min.yErr;
 	
 	// xf,yf must land on image with 0 pixel border
