Commit fab2a947 authored by Maksim Shabunin's avatar Maksim Shabunin

Fix build for VC10

parent 77cbddf7
......@@ -1631,7 +1631,7 @@ static inline void sacInitNonRand(double beta,
for(; n < N; n++){
double mu = n * beta;
double sigma = sqrt(n)* beta_beta1_sq_chi;
double sigma = sqrt((double)n)* beta_beta1_sq_chi;
unsigned i_min = (unsigned)ceil(SMPL_SIZE + mu + sigma);
nonRandMinInl[n] = i_min;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment