Wrong Threshold on All Component
Description
Test added on VTK to test component modes fails on vtk-m. See vtk!10584 (merged)
The test fails when All component mode is set, and it gives one extra cell on vtk-m.
Steps to reproduce
It can be reproduced with the test from the MR and removing the condition in the CMake to build it when VTKM_OVERRIDE is enabled.
Otherwise:
- Create a sphere with normals
- Add a threshold filter on "Normals"
- Use upper threshold function, and set it to 0.0
- Disable All scalars
- Set component mode to use All
- Apply
On vtk-m you get 32 cells instead of 31 in VTK. The extra cell doesn't pass threshold's condition.