Skip to content

Commit

Permalink
fix ?
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Jan 21, 2025
1 parent 019952b commit c4e0385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ostap/fitting/constraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def make_constrained ( pdf , *constraints ) :

if root_info < ( 6, 24 ) :
plist = ROOT.RooArgSet( pdf )
for p in contsraints : plist.add ( p )
for p in constraints : plist.add ( p )
return ROOT.RooProdPdf ( name , title , plist ) , ()

return ROOT.RooProdPdf ( name , title , ( pdf , ) + constraints ) , ()
Expand Down

0 comments on commit c4e0385

Please sign in to comment.