Skip to content

Commit

Permalink
fix ?
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Dec 5, 2023
1 parent f0c2e5d commit 5f7e72f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ostap/fitting/tests/test_fitting_ds2numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ def test_large_ds_with_weights():
var_name = "x{}".format(i)
var = ROOT.RooRealVar(var_name, var_name, 0, 10)
variables.append(var)
varset = ROOT.RooArgSet(*variables)
varset = ROOT.RooArgSet()
for v in variables : varset.add ( v )
data = ROOT.RooDataSet("data", "data", varset )

# Заполняем датасет случайными данными
Expand Down Expand Up @@ -150,7 +151,8 @@ def test_large_ds_without_weights():
var_name = "x{}".format(i)
var = ROOT.RooRealVar(var_name, var_name, 0, 10)
variables.append(var)
varset = ROOT.RooArgSet(*variables)
varset = ROOT.RooArgSet()
for v in variables : varset.add ( v )
data = ROOT.RooDataSet("data", "data", varset )

# Заполняем датасет случайными данными
Expand Down

0 comments on commit 5f7e72f

Please sign in to comment.