Will research in the morning. Pretty sure default parameters of old
Mtrandom seed was 0.
On 15 Apr 2014 7:41 PM, "Ben Garney" <notifications@github.com> wrote:

> In loom/script/native/core/system/lmRandom.cpp:
>
> > +        float halfLife = lua_tonumber(L, 1);
> > +        lua_pushnumber(L, utRand->randNegativeExponential(halfLife));
> > +        return 1;
> > +    }
> > +
> > +    static int _randPoisson(lua_State *L)
> > +    {
> > +        float mean = lua_tonumber(L, 1);
> > +        lua_pushnumber(L, utRand->randPoisson(mean));
> > +        return 1;
> > +    }
> > +};
> > +
> > +
> > +// always seed to 0; up to the user to change the seed in script if they want a unique set
> > +utRandomNumberGenerator *Random::utRand = new utRandomNumberGenerator(0);
>
> Is zero a bad seed for Mersenne?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/LoomSDK/LoomSDK/pull/127/files#r11647023>
> .
>