Closed garrison closed 2 years ago
This fixes a bug in the "weighted" sampling method for magic rounding as well as the corresponding bug in the tests. The expressions are now consistent with the paper and with the other conventions used throughout magic rounding.
Summary
This fixes a bug in the "weighted" sampling method for magic rounding as well as the corresponding bug in the tests. The expressions are now consistent with the paper and with the other conventions used throughout magic rounding.
Details and comments