Replaced deprecated method.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540418 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2013-11-09 22:34:10 +00:00
parent b72f31c6bd
commit 5d61fcddd4
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ public class Combinations implements Iterable<int[]> {
throw new OutOfRangeException(digit, 0, n - 1);
}
ret += c[i] * ArithmeticUtils.pow(n, (long) i);
ret += c[i] * ArithmeticUtils.pow(n, i);
}
return ret;
}