gaussian random number generatorepel9
parent
f5a6efabda
commit
58a2e157fb
@ -0,0 +1,11 @@
|
||||
--- trunk/opencv/src/cxcore/cxrand.cpp 2009/11/13 13:53:03 2281
|
||||
+++ trunk/opencv/src/cxcore/cxrand.cpp 2009/11/13 14:55:04 2282
|
||||
@@ -303,7 +303,7 @@
|
||||
{
|
||||
const float r = 3.442620f; // The start of the right tail
|
||||
const float rng_flt = 2.3283064365386962890625e-10f; // 2^-32
|
||||
- static unsigned kn[127];
|
||||
+ static unsigned kn[128];
|
||||
static float wn[128], fn[128];
|
||||
uint64 temp = *state;
|
||||
static bool initialized=false;
|
Loading…
Reference in new issue