Index: branches/czw_branch/20160809/psModules/src/astrom/pmAstrometryObjects.c
===================================================================
--- branches/czw_branch/20160809/psModules/src/astrom/pmAstrometryObjects.c	(revision 39782)
+++ branches/czw_branch/20160809/psModules/src/astrom/pmAstrometryObjects.c	(revision 39784)
@@ -238,5 +238,5 @@
     bool status;
     double photomWindowSigma  = psMetadataLookupF32 (&status, config, "PSASTRO.PHOTOM.WINDOW.SIGMA");
-    bool   photomWindowApply  = !(isnan(photomWindowSigma) || (fabs(photomWindowSigma < 0.01)));
+    bool   photomWindowApply  = !(isnan(photomWindowSigma) || (fabs(photomWindowSigma) < 0.01));
     double photomWindowFactor = photomWindowApply ? -0.5/PS_SQR(photomWindowSigma) : 0.0;
 
@@ -790,5 +790,5 @@
     // sigma of gaussian window to down-weight photometric outliers (ignored if NAN or 0.0)
     double photomWindowSigma  = psMetadataLookupF32 (&status, config, "PSASTRO.PHOTOM.WINDOW.SIGMA");
-    bool   photomWindowApply  = !(isnan(photomWindowSigma) || (fabs(photomWindowSigma < 0.01)));
+    bool   photomWindowApply  = !(isnan(photomWindowSigma) || (fabs(photomWindowSigma) < 0.01));
     double photomWindowFactor = photomWindowApply ? -0.5/PS_SQR(photomWindowSigma) : 0.0;
 
@@ -1074,5 +1074,5 @@
     // sigma of gaussian window to down-weight photometric outliers (ignored if NAN or 0.0)
     double photomWindowSigma  = psMetadataLookupF32 (&status, recipe, "PSASTRO.PHOTOM.WINDOW.SIGMA");
-    bool   photomWindowApply  = !(isnan(photomWindowSigma) || (fabs(photomWindowSigma < 0.01)));
+    bool   photomWindowApply  = !(isnan(photomWindowSigma) || (fabs(photomWindowSigma) < 0.01));
     double photomWindowFactor = photomWindowApply ? -0.5/PS_SQR(photomWindowSigma) : 0.0;
 
