[Date Index] [Thread Index] [Author Index]
Re: debug compiled function
Hi, compiled code can't debugged because there is no actual documentation about the machine instruction set of the compiler. You can try an ordinary Mathematica debugger from http://library.wolfram.com/database/MathSource/826/ Typical this error comes form a symbol or a high precision number that is used as an argument. The good old Print function is a fine tool to find the error. Regards Jens Brent Pedersen wrote: > > with certain parameters entered into my compiled function i get: > > CompiledFunction::cfn: Numerical error encountered at instruction 59; > proceeding with uncompiled evaluation > > how can i most easily find what is instruction 59? > i would guess there is something i need to wrap in Evaluate but can't > tell what as this is a long function.