Skip to content

Commit

Permalink
Correct openmc.Geometry initializer to accept iterables of openmc.Cell (
Browse files Browse the repository at this point in the history
  • Loading branch information
johvincau authored and church89 committed Jul 18, 2024
1 parent 3aab4a3 commit 317e28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmc/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Geometry:

def __init__(
self,
root: typing.Optional[openmc.UniverseBase] = None,
root: openmc.UniverseBase | typing.Iterable[openmc.Cell] | None = None,
merge_surfaces: bool = False,
surface_precision: int = 10
):
Expand Down

0 comments on commit 317e28f

Please sign in to comment.