Fix rare NaN case in PowerHeuristic()
If the first PDF was too large, it would become infinity when it was squared, which in turn would lead to a NaN being returned.
Showing
想要评论请 注册 或 登录
If the first PDF was too large, it would become infinity when it was squared, which in turn would lead to a NaN being returned.