SciML / DiffEqNoiseProcess.jl

A library of noise processes for stochastic systems like stochastic differential equations (SDEs) and other systems that are present in scientific machine learning (SciML)
https://docs.sciml.ai/DiffEqNoiseProcess/stable/
Other
63 stars 29 forks source link

Use integer division in `split_VBT_seed` #154

Closed linusheck closed 1 year ago

linusheck commented 1 year ago

Sometimes the difference between two large integers in this computation with / is interpreted as a float, which can throw a nested task error: InexactError: UInt64(1.5618062895e9) (example number). This shouldn't change the meaning of the division (does it?) as both operands are powers of two.