Skip to content

Commit d0052a8

Browse files
committed
Reverts changes for testing
1 parent d633636 commit d0052a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SimPEG/directives/directives.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2934,8 +2934,7 @@ def save_components(self, iteration: int, values: list[np.ndarray] = None):
29342934
elif self.attribute_type == "predicted":
29352935
dpred = getattr(self.invProb, "dpred", None)
29362936
if dpred is None:
2937-
fields = self.invProb.dmisfit.objfcts[0].simulation.fields(self.invProb.model)
2938-
dpred = self.invProb.get_dpred(self.invProb.model, [fields])
2937+
dpred = self.invProb.get_dpred(self.invProb.model)
29392938
self.invProb.dpred = dpred
29402939

29412940
if self.joint_index is not None:

0 commit comments

Comments
 (0)