mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Fix build for VC10
This commit is contained in:
parent
77cbddf715
commit
fab2a947ca
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user