We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f325987 commit 87a2109Copy full SHA for 87a2109
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/MathModuleBuiltins.java
@@ -488,7 +488,7 @@ public Object factorialPFL(PFloat value) {
488
public Object factorialObject(VirtualFrame frame, Object value,
489
@CachedLibrary("value") PythonObjectLibrary lib,
490
@Cached("create()") FactorialNode recursiveNode) {
491
- return recursiveNode.execute(frame, lib.asPInt(value));
+ return recursiveNode.execute(frame, lib.asIndex(value));
492
}
493
494
protected boolean isInteger(double value) {
0 commit comments