Skip to content

Commit 78ec08c

Browse files
committed
BSDF: make warning non-blocking
1 parent 47b7bd0 commit 78ec08c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/slg/bsdf/bsdf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ Spectrum BSDF::Evaluate(const Vector &generatedDir,
321321
const Vector localEyeDir = frame.ToLocal(eyeDir);
322322
Spectrum result = material->Evaluate(hitPoint, localLightDir, localEyeDir,
323323
event, directPdfW, reversePdfW);
324-
assert (!result.IsNaN() && !result.IsInf());
324+
verify (!result.IsNaN() && !result.IsInf());
325325
if (result.Black())
326326
return result;
327327

0 commit comments

Comments
 (0)