Skip to content

Commit

Permalink
Replaced mesh.bounding_box() with mesh.bounding_box because bb is not…
Browse files Browse the repository at this point in the history
… callable
  • Loading branch information
caderache2014 committed Jul 23, 2023
1 parent d4cca69 commit e2680e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/test_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_mesh_regular_bounding_box():
mesh = openmc.RegularMesh()
mesh.lower_left = [-2, -3 ,-5]
mesh.upper_right = [2, 3, 5]
bb = mesh.bounding_box()
bb = mesh.bounding_box
assert isinstance(bb, openmc.BoundingBox)
np.testing.assert_array_equal(bb.lower_left, np.array([-2, -3 ,-5]))
np.testing.assert_array_equal(bb.upper_right, np.array([2, 3, 5]))
Expand Down

0 comments on commit e2680e4

Please sign in to comment.