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 Jul 10, 2024
1 parent a5a26bb commit cbec1ab
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 cbec1ab

Please sign in to comment.