Skip to content

Fix HyperTree->GetByLevel... and add test xml htg writer

When writing HTG with Paraview ot VTK, HyperTree->GetByLevelForWriter is called, and when a HyperTreeGrid has a mask of size zero, then GetByLevel... crashes. Added a test on the mask pointer and the size of the mask, plus provided a python test to ensure that the writer does not crash in version 1.x, mode appended.

Edited by Jérôme Dubois

Merge request reports