Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Fix condition for obs vector to actual implementation type
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInFez committed Jan 31, 2019
1 parent 5ac1ffc commit 83b3840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/res/enkf/key_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def genDataKeysWithObservations(self):
enkf_obs = self._ert().getObservations()
gen_data_obs_keys = []
for obs_vector in enkf_obs:
if obs_vector is EnkfObservationImplementationType.GEN_OBS:
if obs_vector.getImplementationType() is EnkfObservationImplementationType.GEN_OBS:
report_step = obs_vector.activeStep()
key = obs_vector.getDataKey()

Expand Down

0 comments on commit 83b3840

Please sign in to comment.