When using NormalDistributionImpl calss, I encounter the error throwing message
org.apache.commons.math.ConvergenceException: maximum number of
iterations reached
at
org.apache.commons.math.special.Gamma.regularizedGammaP(Gamma.java:176)
at org.apache.commons.math.special.Erf.erf(Erf.java:52)
at
org.apache.commons.math.distribution.NormalDistributionImpl.cumulativeProbability(NormalDistributionImpl.java:105)
at mypackage.Myclass.add(Myclass.java:109)
at mypackage.Myclass.$Msger.call(Myclass.java:69)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
The value provided in cumulativeProbability is a double of current
time subtracting previous timestamped e.g. t_now - t_prev
What might cause this issue or how to fix it?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]