comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Program caused arithmetic error: Floating illegal operand ; while using MPFIT
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Program caused arithmetic error: Floating illegal operand ; while using MPFIT [message #71207 is a reply to message #71206] Sun, 06 June 2010 19:57 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Jun 6, 9:18 pm, pp <parul.pande...@gmail.com> wrote:
> Hi All,
>
> I am using MPFIT to solve a problem and I get this error : Program
> caused arithmetic error: Floating illegal operand.
> The value of my key STATUS is 4, NPRINT = 1, ERRMSG =  is an empty
> string.
> Also the program returns the same value of parameters which were used
> as the starting parameters.
>
> STATUS = 4  indicates a success so can I be sure that the program is
> doing the right thing.

Set !EXCEPT = 2 to find out where the mathematical exception is
occurring. However, math errors are not always a real problem, even
though they get reported.

This FAQ entry gives some other suggestions
http://cow.physics.wisc.edu/~craigm/idl/fitqa.html#parstep

My guess is that you need to provide with MPFIT with better derivative
step values.

Craig
[Message index]
 
Read Message
Read Message
Previous Topic: Program caused arithmetic error: Floating illegal operand ; while using MPFIT
Next Topic: ms2gt .gpd and .mpp file creation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 12:44:37 PDT 2025

Total time taken to generate the page: 7.03971 seconds