Add static var-declaration
This commit is contained in:
parent
a6d670243d
commit
1d19fdd3ec
1 changed files with 5 additions and 0 deletions
|
|
@ -28,6 +28,11 @@ using namespace boost::python;
|
|||
|
||||
using namespace boost::python;
|
||||
|
||||
// initialize static constants
|
||||
const uint32_t eoRng::K(0x9908B0DFU);
|
||||
const int eoRng::M(397);
|
||||
const int eoRng::N(624);
|
||||
|
||||
namespace eo
|
||||
{
|
||||
eoRng rng(time(0));
|
||||
|
|
|
|||
Reference in a new issue