| 219 |
|
wt > (d = 0.8*intens(rcol)*r->rweight/(ambdiv*minweight))) |
| 220 |
|
wt = d; /* avoid ray termination */ |
| 221 |
|
n = sqrt(ambdiv * wt) + 0.5; |
| 222 |
< |
i = 1 + 5*(ambacc > FTINY); /* minimum number of samples */ |
| 222 |
> |
i = 1 + 8*(ambacc > FTINY); /* minimum number of samples */ |
| 223 |
|
if (n < i) |
| 224 |
|
n = i; |
| 225 |
|
/* allocate sampling array */ |
| 695 |
|
return(0); |
| 696 |
|
|
| 697 |
|
if ((ra == NULL) & (pg == NULL) & (dg == NULL) || |
| 698 |
< |
(hp->sampOK < 0) | (hp->ns < 4)) { |
| 698 |
> |
(hp->sampOK < 0) | (hp->ns < 9)) { |
| 699 |
|
free(hp); /* Hessian not requested/possible */ |
| 700 |
|
return(-1); /* value-only return value */ |
| 701 |
|
} |