Commit 735125a1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent da82482b
......@@ -174,8 +174,8 @@ def treedeltaGenAllStructs(zstor, kv1txt, kv2txt, n):
t2struct0 = xbtree.StructureOf(ztree)
# all tree1 and tree2 topologies we are going to emit: native + n random ones
t1structv = [t1struct0] + random.sample(t1AllStructs, n)
t2structv = [t2struct0] + random.sample(t2AllStructs, n)
t1structv = [t1struct0] + random.sample(t1AllStructs, min(n, len(t1AllStructs)))
t2structv = [t2struct0] + random.sample(t2AllStructs, min(n, len(t2AllStructs)))
# emit tree1->tree2 and tree1<-tree2 transitions for all combinations of tree1 and tree2.
for i in range(len(t1structv)):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment