Skip to content

Commit

Permalink
Update simpeg/directives/directives.py
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
domfournier and github-actions[bot] authored Sep 23, 2024
1 parent 111d619 commit c3cc8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simpeg/directives/directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -3468,7 +3468,7 @@ def endIter(self):

phi_ds = np.asarray(phi_ds)
chi_factors = np.asarray(chi_factors)
scalings = chi_factors/chi_factors.max()
scalings = chi_factors / chi_factors.max()

# Force beta ratio scaling if below target
scalings[chi_factors < 1] *= ratio
Expand Down

0 comments on commit c3cc8c0

Please sign in to comment.