commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Anderson <>
Subject maximum number of iterations reached
Date Tue, 15 Mar 2011 08:36:53 GMT
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(
        at org.apache.commons.math.special.Erf.erf(
        at org.apache.commons.math.distribution.NormalDistributionImpl.cumulativeProbability(
        at mypackage.Myclass.add(
        at mypackage.Myclass.$
        at java.util.concurrent.FutureTask$Sync.innerRun(
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
        at java.util.concurrent.ScheduledThreadPoolExecutor$
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
        at java.util.concurrent.ThreadPoolExecutor$

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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message