05-22-2006 04:08 AM
05-22-2006 09:35 AM
Michele, I have never tried the Div1D function but in looking at it just now I see that it returns error -20060 whenever a member of the denominator array is zero. So one simple way to avoid this is to check your denominator array prior to calling the Div1D function. If any member is zero, you will want to avoid calling Div1D. Or perhaps set that member to some other non-zero value & somehow notify the operator of the bad data that was detected.
Regards,
Andy
05-23-2006 02:32 AM
Thanks Andy,
I was looking for a "compact" function as Div1D but it works fine as you suggested.
regards,
Michele
05-23-2006 07:28 AM - edited 05-23-2006 07:28 AM
Message Edited by mvr on 05-23-2006 07:29 AM