Index: /branches/eam_branches/ipp-dev-20210817/Ohana/src/opihi/cmd.data/vstats.c
===================================================================
--- /branches/eam_branches/ipp-dev-20210817/Ohana/src/opihi/cmd.data/vstats.c	(revision 41819)
+++ /branches/eam_branches/ipp-dev-20210817/Ohana/src/opihi/cmd.data/vstats.c	(revision 41820)
@@ -86,26 +86,22 @@
     opihi_flt *X = vec[0].elements.Flt;
     for (i = 0; i < vec[0].Nelements; i++, X++) {
+      mask[i] = 0; // do not mask unless we have a reason below
       if (tvec) {
 	// note the logical vector is 0 == bad (ignore)
 	mask[i] = (tvec->type == OPIHI_FLT) ? (tvec->elements.Flt[i] == 0.0) : (tvec->elements.Int[i] == 0);
-      } else {
-	mask[i] = 1;
-      }
-      if (!finite (*X)) continue;
-      if (Ignore && (*X == IgnoreValue)) continue;
-      mask[i] = 0;
+      }
+      if (!finite (*X)) { mask[i] = 0; }
+      if (Ignore && (*X == IgnoreValue)) { mask[i] = 0; }
     }      
   } else {
     opihi_int *X = vec[0].elements.Int;
     for (i = 0; i < vec[0].Nelements; i++, X++) {
+      mask[i] = 0; // do not mask unless we have a reason below
       if (tvec) {
 	// note the logical vector is 0 == bad (ignore)
 	mask[i] = (tvec->type == OPIHI_FLT) ? (tvec->elements.Flt[i] == 0.0) : (tvec->elements.Int[i] == 0);
-      } else {
-	mask[i] = 1;
-      }
-      if (!finite (*X)) continue;
-      if (Ignore && (*X == IgnoreValue)) continue;
-      mask[i] = 0;
+      }
+      if (!finite (*X)) { mask[i] = 0; }
+      if (Ignore && (*X == IgnoreValue)) { mask[i] = 0; }
     }      
   }
