diff --git a/bilby/core/result.py b/bilby/core/result.py index 137936887ff6bab8abe68d61ef9c79e8b88a1fa6..221420c90cc375a673ffb327a4a58be341b2c2b2 100644 --- a/bilby/core/result.py +++ b/bilby/core/result.py @@ -1849,7 +1849,7 @@ class ResultList(list): raise ResultListError("Inconsistent parameters between results") def check_consistent_data(self): - if not np.all([res.log_noise_evidence == self[0].log_noise_evidence for res in self])\ + if not np.allclose([res.log_noise_evidence for res in self], self[0].log_noise_evidence, atol=1e-8, rtol=0.0)\ and not np.all([np.isnan(res.log_noise_evidence) for res in self]): raise ResultListError("Inconsistent data between results")