Calculator: fix a segfault when an input array does not have a name
Merge request reports
Activity
Errors:
- commit 95b14306 is not allowed because the following files are not formatted according to the 'clang-format' check:
VTKExtensions/FiltersGeneral/vtkPVArrayCalculator.cxx
. Post a comment ending in the lineDo: reformat
to rewrite the MR source branch automatically.
Warnings:
- please consider adding a changelog entry in a file ending with
.md
inDocumentation/release/dev
.
The warnings do not need to be fixed, but it is recommended to do so.
Please rewrite commits to fix the errors listed above (adding fixup commits will not resolve the errors) and force-push the branch again to update the merge request.
- commit 95b14306 is not allowed because the following files are not formatted according to the 'clang-format' check:
added 1 commit
- 0b06995f - Calculator: fix a segfault when an input array does not have a name
- Resolved by Louis Gombert
While segfault should indeed be fixed, unnamed arrays are considered invalid in ParaView. Maybe add a warning to inform the user ?
added 1 commit
- b822aced - Calculator: fix a segfault when an input array does not have a name
added 1 commit
- 8ecde943 - Calculator: fix a segfault when an input array does not have a name
added 1 commit
- 237cf2ff - Calculator: fix a segfault when an input array does not have a name
added 1 commit
- a8d9eb5a - Calculator: fix a segfault when an input array does not have a name
The test was relying on a bug of the HTG reflection filter fixed by vtk/vtk!10859 (merged), I can't think of a way to have an anonymous array without using a bug from ParaView, so I don't have a test for this anymore.
Please review @keu-sciviz @mwestphal
mentioned in commit 27b6c0ae
mentioned in merge request !6761 (merged)