dotnet / infer

Infer.NET is a framework for running Bayesian inference in graphical models
https://dotnet.github.io/infer/
MIT License
1.54k stars 229 forks source link

Fix some causes of Arithmetic Overflow exceptions (when running with checked arithmetic) #426

Closed jonathantims closed 1 year ago

jonathantims commented 1 year ago

Two of these (MinCut) are fixing unintended overflow.

Three of them (the rest) are just marking intended overflow with "unchecked".