Browse code

(1.25.3) Fix compilation issue for windows build

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/preprocessCore@83562 bc3139a8-67e5-0310-9ffc-ced21a209358

Ben Bolstad authored on 23/11/2013 03:24:12
Showing 2 changed files

... ...
@@ -1,5 +1,5 @@
1 1
 Package: preprocessCore
2
-Version: 1.25.2
2
+Version: 1.25.3
3 3
 Title: A collection of pre-processing functions
4 4
 Author: Benjamin Milo Bolstad <bmb@bmbolstad.com>
5 5
 Maintainer: Benjamin Milo Bolstad <bmb@bmbolstad.com>
... ...
@@ -2422,7 +2422,7 @@ void determine_target_via_subset(double *data, double *row_mean, size_t rows, si
2422 2422
 #ifdef USE_PTHREADS
2423 2423
 	    row_submean[i]+= ((1.0- row_mean_ind_double)*datvec[row_mean_ind-1] + row_mean_ind_double*datvec[row_mean_ind]);
2424 2424
 #else
2425
-	    row_mean[i]+= ((1.0- row_mean_ind_double)*datvec[row_mean_ind-1] + row_mean_ind_double*datvec[row_mean_ind])/((double)*cols);
2425
+	    row_mean[i]+= ((1.0- row_mean_ind_double)*datvec[row_mean_ind-1] + row_mean_ind_double*datvec[row_mean_ind])/((double)cols);
2426 2426
 #endif
2427 2427
 	  } else if (row_mean_ind >= rows){
2428 2428
 #ifdef USE_PTHREADS