Skip to content

Commit

Permalink
[likelihood] fix bug preventing loading of exp covariances (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstangl authored and DavidMStraub committed Mar 20, 2019
1 parent 2b31adf commit 4c31e70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flavio/statistics/likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,12 +540,12 @@ def load_dict(self, d):
assert len(permutation) == len(ml.observables), \
"Covariance matrix does not contain all necessary entries"
if len(permutation) == 1:
self._exp_central_covariance = (
self._central_cov = (
d['central'],
d['covariance']
)
else:
self._exp_central_covariance = (
self._central_cov = (
d['central'][permutation],
d['covariance'][permutation][:, permutation],
)
Expand Down

0 comments on commit 4c31e70

Please sign in to comment.