diff options
Diffstat (limited to 'src/test.c')
| -rw-r--r-- | src/test.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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 |
