Skip to content

Commit

Permalink
Commitin
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeda committed Oct 30, 2024
1 parent fe2d213 commit 2900cb9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions 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 @@ -614,7 +614,7 @@ def correlation_callback(
# Calculate variance for each parameter
param_variance = np.var(param_ensemble_array, axis=1)
# Create mask for non-zero variance parameters
non_zero_variance_mask = param_variance > 0
non_zero_variance_mask = ~np.isclose(param_variance, 0.0)

if module.localization:
config_node = source_ensemble.experiment.parameter_configuration[
Expand Down
4 changes: 4 additions & 0 deletions tests/ert/ui_tests/cli/test_field_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,7 @@ def test_parameter_update_with_inactive_cells_xtgeo_grdecl(tmpdir):
assert "nan" not in Path(
"simulations/realization-0/iter-1/my_param.grdecl"
).read_text(encoding="utf-8")


# def test_field_parameter_update_using_heat_equation(heat_equation_storage):
# print("Hei")

0 comments on commit 2900cb9

Please sign in to comment.