Skip to content

Commit

Permalink
Don't cast array to np.array
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeda authored Jun 5, 2024
1 parent 99a29f6 commit 314d52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/storage/local_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ def get_observations_and_responses(
reals_with_responses_mask = self.get_realization_with_responses()
if active_realizations is not None:
reals_with_responses_mask = np.intersect1d(
active_realizations, np.array(reals_with_responses_mask)
active_realizations, reals_with_responses_mask
)

for response_type in self.experiment.observations:
Expand Down

0 comments on commit 314d52c

Please sign in to comment.