mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
251157f8d4
The check `len(bytedata) == n * 2` was wrong: float64 is 8 bytes per element, not 2. Legacy float64 checksums fell through to the float32 reader and produced a (2n,)-shaped array, breaking is_moved() and is_camera_moved() with `ValueError: operands could not be broadcast` on .blend files saved by Blender <5.0. Adds a parametrized regression test covering both n=3 (translation) and n=9 (rotation) for both dtypes. Generated with the assistance of an AI coding tool.