aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dirax.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dirax.c b/src/dirax.c
index fff93c8a..88a818ae 100644
--- a/src/dirax.c
+++ b/src/dirax.c
@@ -335,6 +335,9 @@ static int map_position(struct image *image, double x, double y,
y -= image->y_centre;
k = 1.0 / image->lambda;
+ /* FIXME: Don't process lower CCD for now */
+ if ( y < 0 ) return 0;
+
if ( image->fmode == FORMULATION_CLEN ) {
/* Convert pixels to metres */