Skip to content

Commit 7b2a06a

Browse files
committed
Fix typing
1 parent 2c7d5e1 commit 7b2a06a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

simpeg_drivers/utils/synthetics/driver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import numpy as np
1212
from geoh5py import Workspace
13-
from geoh5py.data import FloatData
13+
from geoh5py.data import BooleanData, FloatData
1414
from geoh5py.objects import DrapeModel, ObjectBase, Octree, Surface
1515

1616
from simpeg_drivers.utils.synthetics.meshes.factory import get_mesh
@@ -87,7 +87,7 @@ def mesh(self):
8787
@property
8888
def active(self):
8989
entity = self.mesh.get_entity(self.options.active.name)[0]
90-
assert isinstance(entity, FloatData | type(None))
90+
assert isinstance(entity, BooleanData | type(None))
9191
if entity is None:
9292
entity = get_active(self.mesh, self.topography)
9393
self._active = entity

0 commit comments

Comments
 (0)