diff options
-rw-r--r-- | src/geometry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/geometry.c b/src/geometry.c index 270db457..07c49ecc 100644 --- a/src/geometry.c +++ b/src/geometry.c @@ -204,6 +204,7 @@ static int check_reflection(struct image *image, double mres, int output, rhigh = +image->profile_radius; clamp_high = +1; } + assert(clamp_low <= clamp_high); /* The six possible combinations of clamp_{low,high} (including * zero) correspond to the six situations in Table 3 of Rossmann * et al. (1979). */ |