aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/fom.c4
-rw-r--r--libcrystfel/src/fom.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/libcrystfel/src/fom.c b/libcrystfel/src/fom.c
index 3e734bda..2227a84c 100644
--- a/libcrystfel/src/fom.c
+++ b/libcrystfel/src/fom.c
@@ -824,7 +824,7 @@ static int calculate_possible(struct fom_context *fctx,
}
-static int is_anomalous(enum fom_type fom)
+int fom_is_anomalous(enum fom_type fom)
{
switch ( fom ) {
@@ -970,7 +970,7 @@ struct fom_context *fom_calculate(RefList *list1, RefList *list2, UnitCell *cell
continue;
}
- if ( is_anomalous(fom) ) {
+ if ( fom_is_anomalous(fom) ) {
signed int hb, kb, lb;
diff --git a/libcrystfel/src/fom.h b/libcrystfel/src/fom.h
index c2a340a4..c416043c 100644
--- a/libcrystfel/src/fom.h
+++ b/libcrystfel/src/fom.h
@@ -133,4 +133,6 @@ extern int fom_shell_num_reflections(struct fom_context *fctx, int i);
extern int fom_overall_num_possible(struct fom_context *fctx);
extern int fom_shell_num_possible(struct fom_context *fctx, int i);
+extern int fom_is_anomalous(enum fom_type f);
+
#endif /* FOM */