Fix UB in ZSobolSampler::GetSampleIndex()
There were two signed integer multiplications that readily overflowed. They are now both unsigned, which is well-defined under overflow. Issue #177.
Showing
想要评论请 注册 或 登录
There were two signed integer multiplications that readily overflowed. They are now both unsigned, which is well-defined under overflow. Issue #177.