Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -128,7 +128,7 @@ private RubyArray divMod(BigInteger a, BigInteger b) {
throw new ArithmeticException("divide by zero");
}

final BigInteger[] bigIntegerResults = a.divideAndRemainder(a);
final BigInteger[] bigIntegerResults = a.divideAndRemainder(b);

if ((a.signum() * b.signum()) == -1 && bigIntegerResults[1].signum() != 0) {
bigIntegerFixnumProfile.enter();

0 comments on commit 8bdf8e2

Please sign in to comment.