| 392 |
|
nalt = sqrt(il->sd->nout/PI) + .5; |
| 393 |
|
nazi = PI*nalt + .5; |
| 394 |
|
redistribute(il->sd, nalt, nazi, u, v, fa->norm, xfm); |
| 395 |
< |
il->sampdens = nalt*nazi/PI + .5; |
| 395 |
> |
if (!il->sampdens) |
| 396 |
> |
il->sampdens = nalt*nazi/PI + .999; |
| 397 |
|
} |
| 398 |
|
/* write out the face and its distribution */ |
| 399 |
|
if (average(il, distarr, n)) { |
| 587 |
|
nalt = sqrt(il->sd->nout/PI) + .5; |
| 588 |
|
nazi = PI*nalt + .5; |
| 589 |
|
redistribute(il->sd, nalt, nazi, u, v, co->ad, xfm); |
| 590 |
< |
il->sampdens = nalt*nazi/PI + .5; |
| 590 |
> |
if (!il->sampdens) |
| 591 |
> |
il->sampdens = nalt*nazi/PI + .999; |
| 592 |
|
} |
| 593 |
|
/* write out the ring and its distribution */ |
| 594 |
|
if (average(il, distarr, n)) { |