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: