aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-10-15 16:01:47 +0200
committerThomas White <taw@physics.org>2019-03-11 16:49:36 +0100
commite06952e9eefb0affb65d5361d1919d28bee5974d (patch)
tree29d932e77751f8980865e00a360fc35666529d06 /libcrystfel
parent5ce8e318bcd3389acb28685c930e23087bf8722b (diff)
Remove cells_are_similar() from API
There are two functions with this name. Avoid confusion.
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/cell-utils.c4
-rw-r--r--libcrystfel/src/cell-utils.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c
index 852887a6..7b1984bb 100644
--- a/libcrystfel/src/cell-utils.c
+++ b/libcrystfel/src/cell-utils.c
@@ -1703,8 +1703,8 @@ static double moduli_check(double ax, double ay, double az,
}
-int cells_are_similar(UnitCell *cell1, UnitCell *cell2,
- const double ltl, const double atl)
+static int cells_are_similar(UnitCell *cell1, UnitCell *cell2,
+ const double ltl, const double atl)
{
double asx1, asy1, asz1, bsx1, bsy1, bsz1, csx1, csy1, csz1;
double asx2, asy2, asz2, bsx2, bsy2, bsz2, csx2, csy2, csz2;
diff --git a/libcrystfel/src/cell-utils.h b/libcrystfel/src/cell-utils.h
index cc721634..d0af717a 100644
--- a/libcrystfel/src/cell-utils.h
+++ b/libcrystfel/src/cell-utils.h
@@ -53,9 +53,6 @@ extern UnitCell *transform_cell_gsl(UnitCell *in, gsl_matrix *m);
extern void cell_print(UnitCell *cell);
-extern int cells_are_similar(UnitCell *cell1, UnitCell *cell2,
- const double ltl, const double atl);
-
extern UnitCell *match_cell(UnitCell *cell, UnitCell *tempcell, int verbose,
const float *ltl, int reduce);