From 8374553fcc23b127d0edd9d3f02239bc15d7d9d6 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Fri, 8 Nov 2013 22:03:49 -0600 Subject: cleanup tests --- test/test_rayleigh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_rayleigh.py') diff --git a/test/test_rayleigh.py b/test/test_rayleigh.py index 91e45ca..b10cdd8 100644 --- a/test/test_rayleigh.py +++ b/test/test_rayleigh.py @@ -52,6 +52,6 @@ class TestRayleigh(unittest.TestCase): # (1 + \cos^2 \theta)\sin \theta according to GEANT4 physics # reference manual. f = ROOT.TF1("pol_func", "[0]*(1+cos(x)**2)*sin(x)", 0, np.pi) - h.Fit(f) + h.Fit(f, 'NQ') self.assertGreater(f.GetProb(), 1e-3) -- cgit