diff options
Diffstat (limited to 'src/peaks.c')
-rw-r--r-- | src/peaks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peaks.c b/src/peaks.c index c94b5aa8..fafbe696 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -450,9 +450,9 @@ void dump_peaks(struct image *image) && (y >= image->det.panels[p].min_y) && (y <= image->det.panels[p].max_y) ) { rcx = ((double)x - image->det.panels[p].cx) - / image->resolution; + / image->det.panels[p].res; rcy = ((double)y - image->det.panels[p].cy) - / image->resolution; + / image->det.panels[p].res; found = 1; } } |