Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tony Alberti <aalberti@terrapower.com>
  • Loading branch information
john-science and albeanth committed Apr 4, 2024
1 parent 2a77e74 commit 77159af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion armi/reactor/components/__init__.py
Expand Up @@ -344,7 +344,7 @@ def computeVolume(self):
@staticmethod
def getMaxVolume(block):
"""
The maximum volume of the given Block if it were totally full.
The maximum volume of the parent Block.
Parameters
----------
Expand Down
4 changes: 2 additions & 2 deletions armi/reactor/tests/test_blocks.py
Expand Up @@ -1079,11 +1079,11 @@ def test_adjustDensity(self):

cur = self.block.getNumberDensity("U235")
ref = densAdj * u235Dens
self.assertAlmostEqual(cur, ref, places=6)
self.assertAlmostEqual(cur, ref, places=9)

cur = self.block.getNumberDensity("U238")
ref = densAdj * u238Dens
self.assertAlmostEqual(cur, ref, places=6)
self.assertAlmostEqual(cur, ref, places=9)

self.assertAlmostEqual(mass2 - mass1, massDiff)

Expand Down

0 comments on commit 77159af

Please sign in to comment.