Skip to content

Commit

Permalink
space
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrit committed Aug 28, 2024
1 parent 8663326 commit b5a49e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SeeSharp/Integrators/Bidir/VertexConnectionAndMerging.cs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ protected virtual float LightPathReciprocals(int lastCameraVertexIdx, in BidirPa
float sumReciprocals = 0.0f;
float nextReciprocal = 1.0f;
for (int i = lastCameraVertexIdx + 1; i < pdfs.NumPdfs; ++i) {
if (i == pdfs.NumPdfs - 1) // Next event
if (i == pdfs.NumPdfs - 1) // Next event
sumReciprocals += nextReciprocal * pdfs.PdfNextEvent / pdfs.PdfsLightToCamera[i];

if (i < pdfs.NumPdfs - 1 && (MergePrimary || i > 0)) { // no merging on the emitter itself
Expand Down

0 comments on commit b5a49e0

Please sign in to comment.