Hello,
I think there is an issue in the method generate() of NumpySeedSequence.
The state calculated when the words's size is 64 bits it's not the same as numpy.
So we don't have same results for a same seed.
I think you have to change return (result_type)((uint64_t)state1 << 32 | state2); to return (result_type)(state1 | (uint64_t)state2 << 32) Thanks to this we have same randoms values like numpy.
Thanks for you project :)
Hello,
I think there is an issue in the method generate() of NumpySeedSequence.
The state calculated when the words's size is 64 bits it's not the same as numpy.
So we don't have same results for a same seed.
I think you have to change
return (result_type)((uint64_t)state1 << 32 | state2);toreturn (result_type)(state1 | (uint64_t)state2 << 32)Thanks to this we have same randoms values like numpy.Thanks for you project :)