Index: /trunk/Ohana/src/uniphot/src/update_catalog_setphot.c
===================================================================
--- /trunk/Ohana/src/uniphot/src/update_catalog_setphot.c	(revision 39278)
+++ /trunk/Ohana/src/uniphot/src/update_catalog_setphot.c	(revision 39279)
@@ -30,5 +30,5 @@
 
       catalog[0].measure[m].Mcal = Mcal;
-      catalog[0].measure[m].Mflat = Mflat;
+      catalog[0].measure[m].Mflat = Mflat; // in the previous version, Mcal_offset (which is added to Mflat) had a negative sign here
       catalog[0].measure[m].dMcal = dMcal;
       myAssert(isfinite(catalog[0].measure[m].Mcal), "oops: ubercal made a nan");
