Re: how to debug and fix NAN values

"Bram Stolk" <[email protected]> Mon, 22 Oct 2007 08:45:23 -0700
Newsgroups gmane.comp.lib.ode
Message-ID <[email protected]>
Run the app in a debugger.
You wil get a call-stack.

We would like to know in what part of the code, the normalization was
called.

When I got this error, it was because I had a triangle that had a
zero-length edge.
Thus, two vertices co-incided.

  Bram


On 10/22/07, Hampa <[email protected]> wrote:
>
> Hi,
>
> Every now and then my simulation produces NAN values, usually during
> collisions using hi velocity objects.
>
> In the debug build (lastets 0.9 svn checkout) I get asserts in:
> ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed in
> _dNormalize4() [../../include/ode/odemath.h]
>
> What is the recommended way to debug and fix this kind of problems?
>
> cheers,
> hampa
>
> _______________________________________________
> ODE mailing list
> [email protected]
> http://ode.org/mailman/listinfo/ode
>



-- 
Zapp: Captain's log, stardate...er..
Kif: Ohhh. April 13th.
Zapp: April 13th. Point 2.

_______________________________________________
ODE mailing list
[email protected]
http://ode.org/mailman/listinfo/ode