Closed JiayinCao closed 7 years ago
Hi Jerry,
the ALLOCA looks reasonable. However, let's keep the division by zero -- the result is never used as you say and is a perfectly legitimate operation in IEEE754 arithmetic, so there is no reason to add extra code to work around it.
Best, Wenzel
Noted. Closing the PR.
Avoid dividing by zero case in fourier bsdftable loading pass. Avoid allocating more memory when evaluating pdf for fourier bsdf.