View previous topic :: View next topic |
Author |
Message |
Jim
Joined: 21 Jul 2006 Posts: 24 Location: USA
|
Posted: Fri Nov 25, 2011 3:34 pm Post subject: Invalid Floating Point Operation and Number |
|
|
I am receiving a "Invalid Floating Point Operation" error in the debugger at the following line:
A(J1,KP1)=A(J1,KP1)+P(N2)*(Y(J2)-Z(J2))
and receiving the message "Invalid floating point number" in the variables window for the following:
COSG
DEN
FL
GAMM
GN
Any suggestions?
Jim[/b] |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Fri Nov 25, 2011 6:37 pm Post subject: |
|
|
Are you using CHECKMATE? |
|
Back to top |
|
|
Jim
Joined: 21 Jul 2006 Posts: 24 Location: USA
|
Posted: Fri Nov 25, 2011 6:41 pm Post subject: |
|
|
I was not. I did and got another error.
Jim |
|
Back to top |
|
|
Jim
Joined: 21 Jul 2006 Posts: 24 Location: USA
|
Posted: Fri Nov 25, 2011 6:42 pm Post subject: |
|
|
The following message appeared:
In a call to BSOLVE from another procedure, the second argument was of type REAL(KIND=2), it is now REAL(KIND=1)
Jim |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Fri Nov 25, 2011 7:17 pm Post subject: |
|
|
You should start by tracking down the source of that error, making sure that single or double precision real values are used consistently throughout.
If a routine has a single precision real argument in its definition then a single precision real value should be passed etc. |
|
Back to top |
|
|
|