Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindeide committed Mar 14, 2022
1 parent 126d768 commit 453207d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions semeio/workflows/correlated_observations_scaling/obs_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def _active_list_from_index_list(index_list):
return active_list


def keys_with_data(observations, keys, ensamble_size, storage):
def keys_with_data(observations, keys, ensemble_size, storage):
"""
Checks that all keys have data and returns a list of error messages
"""
Expand All @@ -115,7 +115,7 @@ def keys_with_data(observations, keys, ensamble_size, storage):
if len(active_realizations) == 0:
return []

active_mask = BoolVector.createFromList(ensamble_size, active_realizations)
active_mask = BoolVector.createFromList(ensemble_size, active_realizations)
return [key for key in keys if observations[key].hasData(active_mask, storage)]


Expand Down

0 comments on commit 453207d

Please sign in to comment.