convert PartitionedRepl over to new "PartType" format
[ieee754fpu.git] / src / ieee754 / part_repl / prepl.py
index b2b649543783263569b5c495e725b74b32ee5e14..589954d29413d8b3e2b102a0ee13b7d5a3952229 100644 (file)
@@ -17,11 +17,11 @@ See:
 
 
 modcount = 0 # global for now
-def PRepl(m, repl, qty, mask):
+def PRepl(m, repl, qty, ctx):
     from ieee754.part_repl.repl import PartitionedRepl # recursion issue
     global modcount
     modcount += 1
-    pc = PartitionedRepl(repl, qty, mask)
+    pc = PartitionedRepl(repl, qty, ctx)
     setattr(m.submodules, "repl%d" % modcount, pc)
     return pc.output