debugging IDL Function [message #1477] |
Mon, 27 September 1993 12:06 |
troy
Messages: 2 Registered: September 1993
|
Junior Member |
|
|
I am trying to debug an IDL user-supplied routine (SVDFIT). The problem
is I get a floating point arithmetic error. I don't know why, but I
tried putting a series of PRINT statements in the program to pinpoint
where this error is occuring.
It seems that when I bracket the call to SVD (an IDL routine) with
PRINT statements, the error disappears, but when I take them out, the
error returns. Does anyone know what might be going on??????
the PRINT statements should not effect whether an error occurs, but it
occured to me it might effect whether IDL notifies me about it.
.
.
.
SVD,a,w,u,v ; Do the SVD
.
.
.
gives a floating point arithmetic error
.
.
.
print,'just before call to SVD'
SVD,a,w,u,v ; Do the SVD
print,'just after call to SVD'
.
.
.
seems to run without any errors.
Any ideas,
Troy
|
|
|