For shadow rays there are no closures, leave out the closure merging code there to avoid warnings about accessing closure memory that does not exist.
For shadow rays there are no closures, leave out the closure merging code there to avoid warnings about accessing closure memory that does not exist.