Skip to content

Commit 733cdbf

Browse files
committed
Small fix
1 parent 05ee6d6 commit 733cdbf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

openmc/mesh.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,7 @@ def from_bounding_box(
10171017
"""
10181018
pass
10191019

1020+
10201021
class HasBoundingBox(Protocol):
10211022
"""Object that has a ``bounding_box`` attribute."""
10221023
bounding_box: openmc.BoundingBox
@@ -1809,7 +1810,7 @@ def from_bounding_box(
18091810
----------
18101811
bbox : openmc.BoundingBox
18111812
Bounding box used to set the mesh extents.
1812-
dimension : Iterable of int or int
1813+
dimension : Iterable of int or int, optional
18131814
The number of mesh cells in each direction (x, y, z). If a single
18141815
integer is provided, the total number of cells is distributed across
18151816
the three directions proportionally to the side lengths.

0 commit comments

Comments
 (0)