镜像自地址
https://github.com/DanilaFe/abacus
已同步 2025-07-15 14:01:56 -07:00
Fix null pointer exceptions associated with turning ! into an operator.
这个提交包含在:
父节点
c1bf308d6d
当前提交
2fa51fc997
@ -246,7 +246,7 @@ public class StandardPlugin extends Plugin {
|
|||||||
* @return the nth term of the series.
|
* @return the nth term of the series.
|
||||||
*/
|
*/
|
||||||
private NumberInterface getExpSeriesTerm(int n, NumberInterface x){
|
private NumberInterface getExpSeriesTerm(int n, NumberInterface x){
|
||||||
return x.intPow(n).divide(this.getFunction("!").apply((new NaiveNumber(n)).promoteTo(x.getClass())));
|
return x.intPow(n).divide(this.getOperator("!").getFunction().apply((new NaiveNumber(n)).promoteTo(x.getClass())));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
正在加载...
在新工单中引用
屏蔽一个用户