There is a small typo that was widespread throughout binomial implementations. This was recently fixed in NumPy: numpy/numpy#31238
CuPy also inherited the same bug. The fix is a trivial typo fix (+/-), it would be nice to see if we have a test that (at least occasionally) hits it. Engineering that is the hardest part of this.
There is a small typo that was widespread throughout binomial implementations. This was recently fixed in NumPy: numpy/numpy#31238
CuPy also inherited the same bug. The fix is a trivial typo fix (+/-), it would be nice to see if we have a test that (at least occasionally) hits it. Engineering that is the hardest part of this.