Skip to content

Commit

Permalink
reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
onufer committed Nov 2, 2024
1 parent 3e52acf commit 9c7c35e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions armi/physics/neutronics/crossSectionGroupManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1118,10 +1118,10 @@ def _updateEnvironmentGroups(self, blockList):
return

numBuGroups = len(self._buGroupBounds)
runLog.debug("Updating env groups of {0} blocks".format(len(blockList)))
if len(self._buGroupBounds) == 1 and len(self._tempGroupBounds) == 1:
if numBuGroups == 1 and len(self._tempGroupBounds) == 1:
# dont set block.p.envGroupNum since all 1 group and we want to support 2 char xsGroup
return
runLog.debug("Updating env groups of {0} blocks".format(len(blockList)))
for block in blockList:
bu = block.p.percentBu
for buIndex, upperBu in enumerate(self._buGroupBounds):
Expand Down

0 comments on commit 9c7c35e

Please sign in to comment.