diff --git a/LossFunctions.py b/LossFunctions.py index 9f7fa4548c9c04f566bc07d7cfa8ca58acbc2b5c..b0574a8342829ee056bea5e2582dce0bd29ada0c 100644 --- a/LossFunctions.py +++ b/LossFunctions.py @@ -36,7 +36,7 @@ class BinnedLH: E = y_hat*self.dx h = self.counts - mask = self.mask + mask = self.mask & (y_hat>self.eps) nlogL= np.zeros(self.len_x)