Skip to content

mat3x4_cast(tdualquat<T, Q> const& x) fails to compile #1387

@cone-forest

Description

@cone-forest

This function uses length2(qua) defined in quaternion.hpp which was not included in dual_quaternion.inl therefore it tries to use generic genType length2(genType) resulting in missing operator/(qua, qua) compilation error.

Reproduceable in Clang 20 and GCC 15

Fix: include quaternion.hpp in dual_quaternion.inl

Should I open PR for this or is it already solved somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions