aboutsummaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c9
1 files changed, 0 insertions, 9 deletions
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