From 398b1aa8444d4ca6f339debbcfc71bba8c3c7ba1 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Mon, 13 Aug 2012 13:31:18 +0000 Subject: [PATCH] Undoing all float to double changes git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@220 951219d9-93cf-4727-9268-0efd64621fa3 --- .../mythenDetectorServer/trimming_funcs.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/slsDetectorSoftware/mythenDetectorServer/trimming_funcs.c b/slsDetectorSoftware/mythenDetectorServer/trimming_funcs.c index ac6550eb0..b86e9f3f4 100755 --- a/slsDetectorSoftware/mythenDetectorServer/trimming_funcs.c +++ b/slsDetectorSoftware/mythenDetectorServer/trimming_funcs.c @@ -168,11 +168,11 @@ int choose_vthresh_and_vtrim(int countlim, int nsigma, int im) { int *fifodata; - double vthreshmean, vthreshSTDev; + float vthreshmean, vthreshSTDev; int *thrmi, *thrma; - double c; - double b=BVTRIM; - double a=AVTRIM; + float c; + float b=BVTRIM; + float a=AVTRIM; int *trim; int ich, imod, ichan; int nvalid=0; @@ -447,7 +447,7 @@ int trim_with_level(int countlim, int im) { int kth_smallest(int *a, int n, int k) { register int i,j,l,m ; - register double x ; + register float x ; l=0 ; m=n-1 ; while (l