Skip to content

Commit

Permalink
q_mu should be a float
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Jul 21, 2020
1 parent 389d882 commit c3b4f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_backend_consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_hypotest_q_mu(
q_mu = pyhf.infer.test_statistics.qmu(
1.0, data, pdf, pdf.config.suggested_init(), pdf.config.suggested_bounds(),
)
test_statistic.append(pyhf.tensorlib.tolist(q_mu))
test_statistic.append(q_mu)

# compare to NumPy/SciPy
test_statistic = np.array(test_statistic)
Expand Down

0 comments on commit c3b4f34

Please sign in to comment.