Skip to content

Commit

Permalink
Merge branch 'master' of github.com:OstapHEP/ostap
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Sep 29, 2023
2 parents 96114c3 + fb04191 commit abe10fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ostap/fitting/fit2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ def __init__ ( self , name , shape , xvar , yvar , tag = 0 ) :

if isinstance ( shape , ROOT.TH2 ) and 2 == shape.dim () :

self.histo = shape
shape = Ostap.Math.Histo2D ( shape )
tag = Ostap.Utils.hash_histo ( shape )
self.histo_obj = shape
shape = Ostap.Math.Histo2D ( shape )
tag = Ostap.Utils.hash_histo ( shape )

elif hasattr ( shape , 'tag' ) and not tag :

Expand Down

0 comments on commit abe10fb

Please sign in to comment.