diff --git a/tacs/constraints/panel_length.py b/tacs/constraints/panel_length.py index 952eb33cd..cde4b24c3 100644 --- a/tacs/constraints/panel_length.py +++ b/tacs/constraints/panel_length.py @@ -755,8 +755,8 @@ def _getComponentBoundaryNodes(self, compIDs): allEdges.add(key) else: dupEdges.add(key) - # Now get a list of all the edges that aren't duplicated, these are the boundary edges - boundaryEdges = list(allEdges - dupEdges) + # Now get a sorted list of all the edges that aren't duplicated, these are the boundary edges + boundaryEdges = sorted(allEdges - dupEdges) # Create a nodeToElem Pointer using a dictionary: nodeToElem = {}