diff --git a/src/test/java/org/apache/commons/math3/util/ArithmeticUtilsTest.java b/src/test/java/org/apache/commons/math3/util/ArithmeticUtilsTest.java index 36992394a..0b10e91f8 100644 --- a/src/test/java/org/apache/commons/math3/util/ArithmeticUtilsTest.java +++ b/src/test/java/org/apache/commons/math3/util/ArithmeticUtilsTest.java @@ -395,10 +395,10 @@ public class ArithmeticUtilsTest { // expected behavior } - Assert.assertEquals(1801088541, ArithmeticUtils.pow(21, 7l)); - Assert.assertEquals(1, ArithmeticUtils.pow(21, 0l)); + Assert.assertEquals(1801088541, ArithmeticUtils.pow(21, 7)); + Assert.assertEquals(1, ArithmeticUtils.pow(21, 0)); try { - ArithmeticUtils.pow(21, -7l); + ArithmeticUtils.pow(21, -7); Assert.fail("Expecting MathIllegalArgumentException"); } catch (MathIllegalArgumentException e) { // expected behavior