Index: trunk/psModules/src/imcombine/pmSubtraction.c
===================================================================
--- trunk/psModules/src/imcombine/pmSubtraction.c	(revision 14333)
+++ trunk/psModules/src/imcombine/pmSubtraction.c	(revision 14340)
@@ -4,6 +4,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-07-20 01:53:41 $
+ *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-07-20 21:18:50 $
  *
  *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
@@ -577,5 +577,5 @@
                 for (int x = stamp->x - footprint; x <= stamp->x + footprint; x++) {
                     float invNoise2 = 1.0 / (weight ? weight->data.F32[y][x] :
-                                             reference->data.F32[y][x]); // Inverse square noise
+                                             input->data.F32[y][x]); // Inverse square noise
 
                     // Generate the convolutions
