run tests in parallel
[ieee754fpu.git] / src / ieee754 / part_mul_add / partpoints.py
index 043988fbc93c67f6c78208688fc932d2119baae9..e138490be2d8a14083a7e5cd33e7ac135251fc6a 100644 (file)
@@ -18,7 +18,7 @@ def make_partition(mask, width):
     mlen = mask.shape()[0]
     ppos = mlen
     midx = 0
-    while ppos < width:
+    while ppos < width and midx < mlen: # -1, ignore last bit
         ppoints[ppos] = mask[midx]
         ppos += mlen
         midx += 1