Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NaN error.
12-19-2006, 07:41 PM,
#3
 
ok, I've understood what is the problem in some NaN cases Smile

Keep attention to:
- division by 0
- sqrt( -x )
are the root cause of many problem.

In this case some "Detected NaN in elevation" were due to this formula:

u = alpha / ((v * (alpha_11 - (1.0))) + (1.0));

Sometimes, v = 1 and alpha_11 = 0, so -> u = alpha / 0 -> NaN

"Detected NaN in origin vector" is still open but I'm working also on it.

Tell me a feedback about "Detected NaN in elevation". Thanks.

pwp71

P.S. done, rev. 1439
Reply


Messages In This Thread
NaN error. - by pwp71 - 11-30-2006, 07:14 PM
[No subject] - by thelusiv - 11-30-2006, 08:30 PM
[No subject] - by pwp71 - 12-19-2006, 07:41 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-19-2006, 09:40 PM
[No subject] - by pwp71 - 12-20-2006, 03:00 PM
[No subject] - by thelusiv - 12-21-2006, 08:59 AM
[No subject] - by pwp71 - 12-27-2006, 05:27 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-27-2006, 08:22 PM
[No subject] - by pwp71 - 12-28-2006, 11:21 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-28-2006, 07:15 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-28-2006, 09:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)