[vtk-developers] Re: vtkOBBTree sqrt domain err

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Nov 28 13:42:44 EST 2005


Dean Inglis wrote:
> Hi David,
> 
> the assertion fails! I added a debug macro
> and found that if:
> rangeAmin = -nan
> rangeAmax = -nan
> 
> then the difference is -nan
> 
> and the sqrt function conks out with a
> domain error.  Perhaps the vectors being dotted
> are not being initialized in some cases???

Or you divide by zero...
I know how to turn FPE with gcc and VS but not for borland...

Mathieu



More information about the vtk-developers mailing list