aboutsummaryrefslogtreecommitdiff
path: root/src/cell.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-05-25 17:50:51 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:28 +0100
commit2c2bb0426ceff2ddc9284b506102b967d768dadf (patch)
tree0f9fc7380c0cf1555b63a535a564e0d3caba0c7b /src/cell.c
parent54fee1620387697a5624d9573f541bf0c081ae11 (diff)
PR gradient check
Diffstat (limited to 'src/cell.c')
-rw-r--r--src/cell.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cell.c b/src/cell.c
index ff9ff3d9..ee00248d 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -614,14 +614,6 @@ void cell_print(UnitCell *cell)
#define MAX_CAND (1024)
-static int within_tolerance(double a, double b, double percent)
-{
- double tol = a * (percent/100.0);
- if ( fabs(b-a) < tol ) return 1;
- return 0;
-}
-
-
static int right_handed(struct rvec a, struct rvec b, struct rvec c)
{
struct rvec aCb;