Skip to content

Commit b942f30

Browse files
committed
Small corrections.
1 parent 02f17e8 commit b942f30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/MathModuleBuiltins.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ public abstract static class MathDoubleUnaryBuiltinNode extends MathUnaryBuiltin
114114

115115
public abstract double executeObject(Object value);
116116

117-
public double count(double value) {
117+
public double count(@SuppressWarnings("unused") double value) {
118118
throw raise(NotImplementedError, "count function in Math");
119-
};
119+
}
120120

121121
@Specialization
122122
public double doL(long value) {
@@ -174,6 +174,7 @@ protected static BigDecimal sqrtBigNumber(BigInteger value) {
174174

175175
@Specialization
176176
@TruffleBoundary
177+
@Override
177178
public double doPI(PInt value) {
178179
BigInteger bValue = value.getValue();
179180
checkMathDomainError(bValue.compareTo(BigInteger.ZERO) == -1);

0 commit comments

Comments
 (0)