aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-15 13:27:36 +0200
committerThomas White <taw@physics.org>2021-07-15 13:28:05 +0200
commit095515b634cf6e85e662d3a91a6d32176818253e (patch)
tree3817ab59c51d371adcd371c87d39f28fac30a6ca /libcrystfel
parent64f8d83d0cee3d886cb170310fe748df33633358 (diff)
Fix an incorrect error message
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/datatemplate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/datatemplate.c b/libcrystfel/src/datatemplate.c
index ad274689..9f8f102c 100644
--- a/libcrystfel/src/datatemplate.c
+++ b/libcrystfel/src/datatemplate.c
@@ -1255,8 +1255,8 @@ DataTemplate *data_template_new_from_string(const char *string_in)
reject = 1;
}
- if ( dim_ss > dim_fs ) {
- ERROR("Fast scan dimension must be lower than "
+ if ( dim_ss >= dim_fs ) {
+ ERROR("Fast scan dimension must be higher than "
"slow scan (panel %s)\n", p->name);
reject = 1;
}