Skip to content

Commit

Permalink
Fixed orthogonal sampler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
DoeringChristian committed Feb 3, 2025
1 parent 3d9ab00 commit b1a70c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/render/tests/test_freeze.py
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,8 @@ def test09_sampler(variants_vec_rgb, sampler):

def func(scene: mi.Scene) -> mi.TensorXf:
with dr.profile_range("render"):
result = mi.render(scene, spp=1)
# spp of 4 to suppress warning
result = mi.render(scene, spp=4)
return result
frozen = dr.freeze(func)

Expand Down

0 comments on commit b1a70c2

Please sign in to comment.