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
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) k][i][0] = 1; k][i][1] = 1;
{
fGradient[
fGradient[
}
needs to be added after line 220 of nr-filter- turbulence. cpp