aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-08-10 12:21:27 +0200
committerThomas White <taw@physics.org>2021-08-10 16:32:36 +0200
commit83989a0048e859a612e707fc9e45c6bd5549d624 (patch)
tree50ab13d0ed526d9f7fd517017ad3d7f96d5573f8
parent40116573c431143031ecd3d2b4e426cd867f88ac (diff)
GUI: Use integer conversion for FoM minimum measurements
-rw-r--r--src/gui_fom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_fom.c b/src/gui_fom.c
index 8418419a..c30ff5af 100644
--- a/src/gui_fom.c
+++ b/src/gui_fom.c
@@ -319,7 +319,7 @@ static void fom_response_sig(GtkWidget *dialog, gint resp,
f->proj->fom_res_min = get_float(f->min_res);
f->proj->fom_res_max = get_float(f->max_res);
f->proj->fom_min_snr = get_float(f->min_snr);
- f->proj->fom_min_meas = get_float(f->min_meas);
+ f->proj->fom_min_meas = get_uint(f->min_meas);
f->proj->fom_nbins = get_uint(f->num_bins);
if ( isnan(f->proj->fom_res_min)
|| isnan(f->proj->fom_res_max)