From d9654b9dcbdba24856d9b0d4a4ea26a3cc11be51 Mon Sep 17 00:00:00 2001 From: Vanya Belyaev Date: Mon, 5 Aug 2024 09:21:27 +0200 Subject: [PATCH] fix? --- ostap/histos/histos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ostap/histos/histos.py b/ostap/histos/histos.py index ab9dce6b..5f408b1d 100755 --- a/ostap/histos/histos.py +++ b/ostap/histos/histos.py @@ -4307,7 +4307,7 @@ def _my_eff_ ( a , r , c ) : sumi += c if h1.natural () : - nn = max ( 1 , math.ceil ( h1.Integral () ) ) + nn = max ( 1 , int ( math.ceil ( float ( h1.Integral () ) ) ) ) e0 = binomEff ( 0 , nn ) e1 = binomEff ( nn , nn ) else :