Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Mar 12, 2024
1 parent 19a91ca commit 88c4b5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ostap/fitting/pyselectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,10 @@ def clone ( self , **kwargs ) :
kw [ 'cuts' ] = self.morecuts
kw [ 'silence' ] = self.silence

tree = self.tree
if not tree : tree = None
kw [ 'tree' ] = tree

kw.update ( kwargs )
return SelectorWithVars ( **kw )

Expand Down Expand Up @@ -2325,6 +2329,7 @@ def fill_dataset1 ( tree ,
selection = selection ,
cuts = cuts ,
roo_cuts = roo_cuts ,
tree = tree ,
name = name ,
fullname = title ,
silence = silent )
Expand Down

0 comments on commit 88c4b5c

Please sign in to comment.