From ff738d1c60e354cc09f6cf03ebda34d8988a45d5 Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Wed, 16 Dec 2015 03:18:36 +0300 Subject: [PATCH] PopulateChildren: fix error if not enough children --- lattice2PopulateChildren.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lattice2PopulateChildren.py b/lattice2PopulateChildren.py index efcd6ad..129c7d6 100644 --- a/lattice2PopulateChildren.py +++ b/lattice2PopulateChildren.py @@ -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: