X-DataInitiative/tick

tick.hawkes.SimuHawkesExpKernels seed max values

Opened this issue · 2 comments

Hi,

While generating hawkes processes with exponential kernels, I ran into an issue with the (optional) seed value. By providing a far too big value (2 ** 42 for example), we are told that the maximal allowed value for seed is 2 ** 32 - 1. However, when passing a seed between 2 ** 31 (included) and 2 ** 32 (included), we get an internal error telling us that the given parameters doesn't have type int.

Thank you

Max integer is 2**31 − 1. Indeed, maybe we should change the error message... Does 2**30 works ?

Hello, thanks for you answer. Indeed 2**30 works fine.