Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: John Stilley <1831479+john-science@users.noreply.github.com>
  • Loading branch information
bsculac and john-science authored Dec 10, 2024
1 parent 6dcebcb commit 67eafd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion armi/reactor/assemblies.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ def moveTo(self, locator):
def scaleParamsToNewSymmetryFactor(self, oldSymmetryFactor):
scalingFactor = oldSymmetryFactor / self.getSymmetryFactor()
if scalingFactor == 1:
return # noop
return

volIntegratedParamsToScale = self.getBlocks()[0].p.paramDefs.atLocation(
ParamLocation.VOLUME_INTEGRATED
)
Expand Down

0 comments on commit 67eafd1

Please sign in to comment.