aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/datatemplate.c')
-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;
}