In cases where seeds were generated from some numpy objects, sometimes
you'd get back an np.integer, which causes the program to crash when
communicating with pyrfr through swig. It seems that swig doesn't
know that it's an int-like and so we explicitly cast it to int.
In cases where seeds were generated from some numpy objects, sometimes you'd get back an
np.integer
, which causes the program to crash when communicating withpyrfr
throughswig
. It seems that swig doesn't know that it's an int-like and so we explicitly cast it toint
.