aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-02-20 03:11:29 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:15 +0100
commit941556dbe66c7f13f0659ebdc139344193eb3e7c (patch)
tree12ddd2a8b252bbfda158930f89042789cc0b6523 /src/geometry.c
parentc52293a3634d447893c081cd1074a2cef293449d (diff)
s/min_x/min_fs/ and so on
Diffstat (limited to 'src/geometry.c')
-rw-r--r--src/geometry.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/geometry.c b/src/geometry.c
index ae0e643d..33527f71 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -58,10 +58,10 @@ static signed int locate_peak(double x, double y, double z, double k,
yda = yd + det->panels[p].cy;
/* Now, is this on this panel? */
- if ( xda < det->panels[p].min_x ) continue;
- if ( xda > det->panels[p].max_x ) continue;
- if ( yda < det->panels[p].min_y ) continue;
- if ( yda > det->panels[p].max_y ) continue;
+ if ( xda < det->panels[p].min_fs ) continue;
+ if ( xda > det->panels[p].max_fs ) continue;
+ if ( yda < det->panels[p].min_ss ) continue;
+ if ( yda > det->panels[p].max_ss ) continue;
/* If peak appears on multiple panels, reject it */
if ( found != -1 ) return -1;