Skip to content

Commit

Permalink
provide array of (one) diagonal(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blunde1 committed Apr 2, 2024
1 parent aca7bf4 commit a12c0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/analysis/_es_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def adaptive_localization_progress_callback(

# Precision of observation errors
Prec_eps = sp.sparse.diags(
1.0 / observation_errors**2,
[1.0 / observation_errors**2],
offsets=[0],
shape=(num_obs, num_obs),
format="csc",
Expand Down

0 comments on commit a12c0f3

Please sign in to comment.