Skip to content

Commit

Permalink
Replace non-existent 'status' keyword with correct 'success'
Browse files Browse the repository at this point in the history
  • Loading branch information
DBerke committed Mar 7, 2023
1 parent dab373b commit 4bd66d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gempy/library/matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def __call__(self, model, in_coords, ref_coords, in_weights=None,
self.statistic = result['fun']
self.niter = result['nit'] # Number of iterations
self.message = result['message'] # Message about why it terminated
self.status = result['status'] # Numeric return status (0 for 'good')
self.status = result['success'] # Numeric return status (0 for 'good')
return model_copy

@staticmethod
Expand Down

0 comments on commit 4bd66d8

Please sign in to comment.