Skip to content

Commit 7a3b145

Browse files
committed
make tests pass
1 parent 7ab0516 commit 7a3b145

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/pyhf/infer/asymptotics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ def generate_asimov_data(asimov_mu, data, pdf, init_pars, par_bounds):
88
bestfit_nuisance_asimov = fixed_poi_fit(asimov_mu, data, pdf, init_pars, par_bounds)
99
return pdf.expected_data(bestfit_nuisance_asimov)
1010

11+
1112
class AsymptoticTestStatDistribution(object):
1213
def __init__(self, shift):
1314
self.shift = shift

src/pyhf/infer/toybased.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ def expected_value(self, nsigma):
2222

2323

2424
class ToyCalculator(object):
25-
def __init__(self, data, pdf, init_pars=None, par_bounds=None, qtilde=False, ntoys = 1000):
25+
def __init__(
26+
self, data, pdf, init_pars=None, par_bounds=None, qtilde=False, ntoys=1000
27+
):
2628
self.ntoys = ntoys
2729
self.data = data
2830
self.pdf = pdf

0 commit comments

Comments
 (0)