Skip to content
Snippets Groups Projects
Commit 95275d54 authored by Moritz's avatar Moritz
Browse files

Fixed prior check

parent f49a8ab6
No related branches found
No related tags found
1 merge request!459Combining results
Pipeline #59447 failed
......@@ -1284,7 +1284,7 @@ class ResultList(list):
def _check_consistent_priors(self):
for res in self:
for p in self[0].search_parameter_keys:
if not self[0].priors[p] == res.priors[p] or len(self[0].priors) != res.priors:
if not self[0].priors[p] == res.priors[p] or len(self[0].priors) != len(res.priors):
raise CombineResultError("Cannot combine results: inconsistent priors")
def _check_consistent_parameters(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment