Skip to content

Commit

Permalink
Update fit2d.py
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev authored Sep 28, 2023
1 parent a79a0f4 commit fb04191
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 fb04191

Please sign in to comment.