From f803f28e95e2874789e25b864d013e10585eb1b8 Mon Sep 17 00:00:00 2001 From: Vanya Belyaev Date: Tue, 19 Mar 2024 10:39:10 +0100 Subject: [PATCH] fix? --- ostap/histos/histos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ostap/histos/histos.py b/ostap/histos/histos.py index 93cc2944..1885a181 100755 --- a/ostap/histos/histos.py +++ b/ostap/histos/histos.py @@ -4943,7 +4943,7 @@ def _rebin_nums_1D_ ( h1 , template ) : isinstance ( template [1] , num_types ) and \ isinstance ( template [2] , num_types ) and template [ 1] < template [ 2 ] : htype = ROOT.TH1D if isinstance ( h1 , ROOT.TH1D ) else ROOT.TH1F - template = htype ( hID() , 'template' , template , xaxis.GetXmin() , xaxis.GetXmax() ) + template = htype ( hID() , 'template' , *template ) # clone it! h2 = template.Clone( hID() ) @@ -4990,7 +4990,7 @@ def _rebin_func_1D_ ( h1 , template ) : isinstance ( template [1] , num_types ) and \ isinstance ( template [2] , num_types ) and template [ 1] < template [ 2 ] : htype = ROOT.TH1D if isinstance ( h1 , ROOT.TH1D ) else ROOT.TH1F - template = htype ( hID() , 'template' , template , xaxis.GetXmin() , xaxis.GetXmax() ) + template = htype ( hID() , 'template' , *template ) # clone it! h2 = template.Clone( hID() )