aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-02-13 13:46:47 +0100
committerThomas White <taw@physics.org>2014-02-13 13:46:47 +0100
commit7551e70603982392c2b7d9f4287fd431ecccc7c9 (patch)
treebd07de86b8b920573624b0d47f7fcc7927dd8c9a /libcrystfel
parent2cb4c47dc477761fb621a4df6683c3f27fc7d5a1 (diff)
Fix previous commit
Diffstat (limited to 'libcrystfel')
-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;
}