From 3c4e0165be328f657a3ef76ae2f82b9ea05d5c00 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Fri, 8 Nov 2019 09:51:18 -0600 Subject: [PATCH] Updating comment. --- openmc/lattice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/lattice.py b/openmc/lattice.py index f4c480230..f0df52e74 100644 --- a/openmc/lattice.py +++ b/openmc/lattice.py @@ -1296,7 +1296,7 @@ class HexLattice(Lattice): return g < self.num_rings and 0 <= idx[2] < self.num_axial def create_xml_subelement(self, xml_element, memo=None): - # If the element does contain the Lattice subelement, then return + # If this subelement has already been written, return if memo and id(self) in memo: return if memo is not None: