Please add the labels (e.g. bug, feature, ..) corresponding to this PR
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
Please describe the tests that you added to verify your changes.
Please make sure to complete this checklist before requesting a review.
- My code follows the style guidelines of this project
- My changes generate no new warnings
- My code also compiles for
gpu_*
andpacket_*
variants. If you can't test this, please leave below - I have commented my code
- I have made corresponding changes to the documentation
- I have added tests that prove my fix is effective or that my feature works
- I cleaned the commit history and removed any "Merge" commits
- I give permission that the Mitsuba 2 project may redistribute my contributions under the terms of its license