aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/predict-refine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/predict-refine.c b/libcrystfel/src/predict-refine.c
index 9062e754..61a94e05 100644
--- a/libcrystfel/src/predict-refine.c
+++ b/libcrystfel/src/predict-refine.c
@@ -546,7 +546,7 @@ static int iterate(struct reflpeak *rps, int n, UnitCell *cell,
}
-static double UNUSED residual(struct reflpeak *rps, int n, struct detector *det)
+static double residual(struct reflpeak *rps, int n, struct detector *det)
{
int i;
double res = 0.0;