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

Home » Public Forums » archive » debugging IDL Function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
debugging IDL Function [message #1477] Mon, 27 September 1993 12:06
troy is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RSI response to CONTOUR problems/questions.
Next Topic: Function/procedure for autocorrelation function

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

Current Time: Wed Oct 08 13:42:31 PDT 2025

Total time taken to generate the page: 0.00545 seconds