PopulateChildren: fix error if not enough children

This commit is contained in:
DeepSOIC 2015-12-16 03:18:36 +03:00
parent 037d3028ea
commit ff738d1c60

View File

@ -94,7 +94,7 @@ class LatticePopulateChildren(lattice2BaseFeature.LatticeFeature):
# the essence
for iPlm in range(len(placements)):
if iChild > numChildren:
if iChild == numChildren:
if obj.LoopObjectSequence:
iChild = 0
else: