Index: trunk/psphot/src/psphotSourceSize.c
===================================================================
--- trunk/psphot/src/psphotSourceSize.c	(revision 20144)
+++ trunk/psphot/src/psphotSourceSize.c	(revision 20146)
@@ -123,5 +123,5 @@
         // factor of 4); also biases a bit low if any pixels are masked
         // XXX I am not sure I want to keep this value...
-        source->psfChisq = PS_SQR(nX) + PS_SQR(nY) + PS_SQR(nX) + PS_SQR(nR);
+        source->psfChisq = PS_SQR(nX) + PS_SQR(nY) + PS_SQR(nL) + PS_SQR(nR);
 
         float fCR = 0.0;
@@ -265,4 +265,5 @@
     for (int x = -radius; x <= radius; x++) {
         // Polynomial coefficients
+        // XXX Should we be using the centre of the pixel as x or x+0.5?
         float A = PS_SQR (1.0 / syy);
         float B = x * sxy;
