Posted: Wed Apr 25, 2007 4:00 am
If you didn't specify the initial value, 0 is default and it cause some problem. For example, the value of denominator is 0 somewhere mentioned in your message. My suggestion is to pick some reasonable initial guess beforehand