Skip to content

Commit 42d8534

Browse files
authored
Merge pull request #73 from MiraGeoscience/GEOPY-2023
GEOPY-2023: Update discretize to >=0.11.*
2 parents 77e2a29 + f5df0ab commit 42d8534

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ authors = [
1717
keywords = ["geophysics", "inverse problem"]
1818

1919
dependencies = [
20-
"discretize>=0.10.0",
20+
"discretize>=0.11.0",
2121
"empymod>=2.0.0",
2222
"geoana>=0.5.0",
2323
"geoh5py>=0.11.0a1, <0.12.dev",

simpeg/maps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6238,7 +6238,7 @@ def projection(self):
62386238
Set the projection matrix with partial volumes
62396239
"""
62406240
if getattr(self, "_projection", None) is None:
6241-
in_local = self.local_mesh._get_containing_cell_indexes(
6241+
in_local = self.local_mesh.get_containing_cells(
62426242
self.global_mesh.cell_centers
62436243
)
62446244

@@ -6257,7 +6257,7 @@ def projection(self):
62576257

62586258
if self.enforce_active:
62596259
self.local_active[
6260-
self.local_mesh._get_containing_cell_indexes(
6260+
self.local_mesh.get_containing_cells(
62616261
self.global_mesh.cell_centers[~self.global_active, :]
62626262
)
62636263
] = False

0 commit comments

Comments
 (0)