Index: trunk/psModules/src/imcombine/pmSubtraction.c
===================================================================
--- trunk/psModules/src/imcombine/pmSubtraction.c	(revision 14528)
+++ trunk/psModules/src/imcombine/pmSubtraction.c	(revision 14540)
@@ -4,6 +4,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-08-16 03:58:29 $
+ *  @version $Revision: 1.42 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-08-17 01:50:50 $
  *
  *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
@@ -202,5 +202,5 @@
                   kernel->kernel[v][u] += kernelWeighting(poly->data.F32[j], varianceWeighting) * value;
               }
-              kernel->kernel[0][0] += kernelWeighting(num, varianceWeighting) * subValue;
+              // Photometric scaling is built into the kernel --- no subtraction!
               break;
           }
@@ -301,6 +301,6 @@
               sum += image->kernel[y + v][x + u] * poly->data.F32[j];
           }
-          // The (0,0) kernel is subtracted from other kernels to preserve photometric scaling
-          return sum - num * image->kernel[y][x];
+          // Photometric scaling is built into the kernel --- no subtraction!
+          return sum;
       }
       default:
