Skip to content

Commit 2f4fa48

Browse files
committed
Update size of tilemap for mvi in joint inversion
1 parent 79a2c95 commit 2f4fa48

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

simpeg_drivers/joint/joint_surveys/driver.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ def validate_create_models(self):
7474
def wires(self):
7575
"""Model projections"""
7676
if self._wires is None:
77-
wires = [maps.IdentityMap(nP=self.models.n_active) for _ in self.drivers]
77+
wires = [
78+
maps.IdentityMap(nP=driver.n_values * driver.n_blocks)
79+
for driver in self.drivers
80+
]
7881
self._wires = wires
7982

8083
return self._wires

0 commit comments

Comments
 (0)