From a0a8c6218d027dd4b8b877cd9941a55fc6b4de65 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 4 Mar 2009 23:22:32 +0000 Subject: Add a unit test program --- crystal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crystal.c') diff --git a/crystal.c b/crystal.c index 065236a..cd6ef8a 100644 --- a/crystal.c +++ b/crystal.c @@ -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; -- cgit v1.2.3