diff options
author | Thomas White <taw@physics.org> | 2011-05-25 17:50:51 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:28 +0100 |
commit | 2c2bb0426ceff2ddc9284b506102b967d768dadf (patch) | |
tree | 0f9fc7380c0cf1555b63a535a564e0d3caba0c7b /src/cell.c | |
parent | 54fee1620387697a5624d9573f541bf0c081ae11 (diff) |
PR gradient check
Diffstat (limited to 'src/cell.c')
-rw-r--r-- | src/cell.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; |