Skip to content

Commit 253f2fd

Browse files
committed
use n_active in identitymap, not n_values
1 parent 2f4fa48 commit 253f2fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simpeg_drivers/joint/joint_surveys/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def wires(self):
7575
"""Model projections"""
7676
if self._wires is None:
7777
wires = [
78-
maps.IdentityMap(nP=driver.n_values * driver.n_blocks)
78+
maps.IdentityMap(nP=self.models.n_active * driver.n_blocks)
7979
for driver in self.drivers
8080
]
8181
self._wires = wires

0 commit comments

Comments
 (0)