Index: trunk/psModules/src/imcombine/pmStack.c
===================================================================
--- trunk/psModules/src/imcombine/pmStack.c	(revision 16685)
+++ trunk/psModules/src/imcombine/pmStack.c	(revision 16689)
@@ -8,6 +8,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2008-02-27 21:16:57 $
+ *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-02-28 00:15:03 $
  *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
  *
@@ -541,5 +541,9 @@
     PS_ASSERT_INT_POSITIVE(bad, false);
     PS_ASSERT_INT_NONNEGATIVE(numIter, false);
-    PS_ASSERT_FLOAT_LARGER_THAN(rej, 0.0, false);
+    if (isnan(rej)) {
+        PS_ASSERT_INT_EQUAL(numIter, 0);
+    } else {
+        PS_ASSERT_FLOAT_LARGER_THAN(rej, 0.0, false);
+    }
     if (havePixels) {
         // This is a subsequent combination, so expect that the image and mask already exist
