aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/integration.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index b14d0f1c..b86399e9 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -1485,7 +1485,8 @@ static void integrate_prof2d(IntegrationMethod meth, Crystal *cr,
for ( i=0; i<ic.n_reference_profiles; i++ ) {
if ( ic.n_profiles_in_reference[i] == 0 ) {
- ERROR("Reference profile 0 has no contributions.\n");
+ ERROR("Reference profile %i has no contributions.\n",
+ i);
free_intcontext(&ic);
return;
}