Skip to content

Fix endian flip when reading vector arrays

Kenneth Moreland requested to merge kmorel/vtk-m:fix-endian-flip into master

The legacy VTK file reader has a condition to flip the bytes in values when the endian does not match the current system. The problem was that when reading in a vector, the flip was happening on all bytes of a Vec. This caused the last components of the Vec to be flipped with the first components. Instead, we want each component to be flipped independently.

Merge request reports

Loading