Index: trunk/magic/remove/src/streaksio.c
===================================================================
--- trunk/magic/remove/src/streaksio.c	(revision 30315)
+++ trunk/magic/remove/src/streaksio.c	(revision 30404)
@@ -1191,4 +1191,10 @@
                                 weight->data.F32[y][x] = NAN;
                             }
+                        } else if (weightType == PS_TYPE_F64) {
+                            double weightVal = weight->data.F64[y][x];
+                            if (!isnan(weightVal)) {
+                                ++nandWeights;
+                                weight->data.F64[y][x] = NAN;
+                            }
                         } else if(weightType == PS_TYPE_S16) {
                             double weightVal = weight->data.S16[y][x];
