Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix invalid length error with meshio.CellBlock
In commit [60d11b70] of meshio the length of `CellBlock`, a subclass of `namedtuple`, is redefined to the length of the `data` attribute. This breaks `namedtuple._replace`, where the length of the newly created `CellBlock` is verified. This patch circumvents the problem by using the `CellBlock` constructor directly instead of `namedtuple._replace`. [60d11b70]: nschloe/meshio@60d11b7
- Loading branch information