Skip to content

Fix the size of Mask and ScatterPermutation arrays

Kenneth Moreland requested to merge kmorel/vtk-m:fix-mask-scatter-size into master

While adding checks to the size of implicit arrays, it was discovered that some of the Mask and ScatterPermutation arrays were constructed with the wrong sizes during dispatch. In particular, these arrays were supposed to be sized on the output, but were instead sized on the input. They went unnoticed because they were using implicit arrays that worked even if the array access went out of bounds.

Merge request reports