aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-24 18:22:37 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:21 +0100
commit26cea70ba587bea9a64cf207d4c6a92914fb39f4 (patch)
treeaad836f39eb2f749db4719c452a951f3c890da27
parent907548616fa9988616d360f62c625e95d9f5577d (diff)
Fix types for find_panel()
-rw-r--r--src/detector.c2
-rw-r--r--src/detector.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/detector.c b/src/detector.c
index 522c4aa5..3a00607a 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -265,7 +265,7 @@ void record_image(struct image *image, int do_poisson)
}
-struct panel *find_panel(struct detector *det, int fs, int ss)
+struct panel *find_panel(struct detector *det, double fs, double ss)
{
int p;
diff --git a/src/detector.h b/src/detector.h
index 03e0b2ad..67b10870 100644
--- a/src/detector.h
+++ b/src/detector.h
@@ -84,7 +84,7 @@ extern int in_bad_region(struct detector *det, double fs, double ss);
extern void record_image(struct image *image, int do_poisson);
-extern struct panel *find_panel(struct detector *det, int fs, int ss);
+extern struct panel *find_panel(struct detector *det, double fs, double ss);
extern struct detector *get_detector_geometry(const char *filename);