Comment 10 for bug 1406458

Revision history for this message
Ryan Richards (ryan-richards) wrote :

I've found the problem. With the affected seed numbers both values in fGradient table are 0 for some of pairs.

Something to the effect of

if (fGradient[k][i][0] == 0 && fGradient[k][i][1] == 0)
 {
  fGradient[k][i][0] = 1;
  fGradient[k][i][1] = 1;
 }

needs to be added after line 220 of nr-filter-turbulence.cpp