diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-03-04 23:22:32 +0000 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-03-04 23:23:00 +0000 |
commit | a0a8c6218d027dd4b8b877cd9941a55fc6b4de65 (patch) | |
tree | e1c4e07803b33c1a72f26d19c9a6016c9915fb42 /crystal.c | |
parent | 219f63c4bcbf877a41a70c6fd37ac63bd90b85b6 (diff) |
Add a unit test program
Diffstat (limited to 'crystal.c')
-rw-r--r-- | crystal.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,7 +65,7 @@ static double volume(Cell cell) } -static double dspacing(Cell cell, double h, double k, double l) +double dspacing(Cell cell, double h, double k, double l) { double sum_S_terms, one_over_Vsq, one_over_LHS; @@ -80,7 +80,7 @@ static double dspacing(Cell cell, double h, double k, double l) } -static double plane_angle(Cell cell, double h1, double k1, double l1, +double plane_angle(Cell cell, double h1, double k1, double l1, double h2, double k2, double l2) { double sum_S_terms, d1, d2, dd_over_Vsq; |