From 37510bc23ab8ba5266998c15fb48c869ef7ca796 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Fri, 31 Aug 2018 10:05:03 -0500 Subject: rotate and translate the path in path_init to speed things up --- src/test.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/test.c') diff --git a/src/test.c b/src/test.c index baf0914..cc054c0 100644 --- a/src/test.c +++ b/src/test.c @@ -108,15 +108,6 @@ struct solid_angle_results { {2.0,2.0,0.282707} }; -int isclose(double a, double b, double rel_tol, double abs_tol) -{ - /* Returns 1 if a and b are "close". This algorithm is taken from Python's - * math.isclose() function. - * - * See https://www.python.org/dev/peps/pep-0485/. */ - return fabs(a-b) <= fmax(rel_tol*fmax(fabs(a),fabs(b)),abs_tol); -} - int test_muon_get_T(char *err) { /* A very simple test to make sure the energy as a function of distance -- cgit