Commit 8276ccc3 authored by Theo Steininger's avatar Theo Steininger

bugfix

parent 1f30f82f
...@@ -25,10 +25,10 @@ class EnsembleLikelihood(Likelihood): ...@@ -25,10 +25,10 @@ class EnsembleLikelihood(Likelihood):
# if the first element in the domain tuple is a FieldArray we must # if the first element in the domain tuple is a FieldArray we must
# extract the data # extract the data
if isinstance(data.domain[0], FieldArray): if isinstance(data.domain[0], FieldArray):
stripped_data = Field(domain=data.domain[1:], data = Field(domain=data.domain[1:],
val=data.val.get_full_data()[0], val=data.val.get_full_data()[0],
distribution_strategy='not') distribution_strategy='not')
return stripped_data return data
def __call__(self, observable): def __call__(self, observable):
field = observable[self.observable_name] field = observable[self.observable_name]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment