Login
Login

Re: maximum number of iterations 2147483647 exceeded

Home 21090308 Forums Re: maximum number of iterations 2147483647 exceeded

#2083
Ryu
Member

Hello o16t,

Thank you very much for evaluating SuanShu.

I suspect that it has to do with the jvm that you are using. Could you let us know which jvm you are using please?
I tried to reproduce your problem using jdk1.6.0_24 (32 bit) but could not reproduce the exception. Maybe you would like to try this most updated 32 bit jvm?

There is no ‘internal’ buffer in this particular code snippet. The T distribution is a complicated function to evaluate, which depends on calling BetaRegularized, BetaRegularizedInverse, LogBeta, LogGamma, and Digamma. They are in turned computed using their continued fraction forms. By default, we do not put a limit on the number of iterations when evaluating a continued fraction and just let it run until convergence (or failure).