diff --git a/src/pbrt/cpu/integrators.cpp b/src/pbrt/cpu/integrators.cpp index a2f15f96b..dd74d06cd 100644 --- a/src/pbrt/cpu/integrators.cpp +++ b/src/pbrt/cpu/integrators.cpp @@ -1454,7 +1454,7 @@ SampledSpectrum AOIntegrator::Li(RayDifferential ray, SampledWavelengths &lambda Ray r = isect.SpawnRay(wi); if (!IntersectP(r, maxDist)) { return illumScale * illuminant.Sample(lambda) * - SampledSpectrum(Dot(wi, n) / (Pi * pdf)); + Dot(wi, n) / (Pi * pdf); } } return SampledSpectrum(0.);