Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Aug 5, 2024
1 parent ddfd077 commit d9654b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ostap/histos/histos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down

0 comments on commit d9654b9

Please sign in to comment.