diff --git a/openmc/geometry.py b/openmc/geometry.py index db927c46ec1..e37a69c73d2 100644 --- a/openmc/geometry.py +++ b/openmc/geometry.py @@ -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 ):