diff --git a/include/kyosu/functions/to_euler.hpp b/include/kyosu/functions/to_euler.hpp index f304c9d8..d989b6b9 100644 --- a/include/kyosu/functions/to_euler.hpp +++ b/include/kyosu/functions/to_euler.hpp @@ -30,7 +30,7 @@ namespace kyosu::tags ) noexcept requires(I != J && J != K) { - return kumi::tuple{zero(as()), zero(as()), zero(as())}; + return kumi::tuple{eve::zero(eve::as()), eve::zero(eve::as()), eve::zero(eve::as())}; } template diff --git a/include/kyosu/functions/to_rotation_matrix.hpp b/include/kyosu/functions/to_rotation_matrix.hpp index 0aad3a21..a9dae758 100644 --- a/include/kyosu/functions/to_rotation_matrix.hpp +++ b/include/kyosu/functions/to_rotation_matrix.hpp @@ -24,7 +24,7 @@ namespace kyosu::tags , [[maybe_unused]] V const & q , nor) noexcept { - if constexpr (!normalize) EVE_ASSERT(eve::all(kyosu::is_unitary(v)), "some quaternions are not unitary"); + if constexpr (!normalize) EVE_ASSERT(eve::all(kyosu::is_unitary(q)), "some quaternions are not unitary"); using m_t = std::array< std::array, 3>; return m_t{{1, 0, 0}, {0, 1, 0}, {0, 0, 1}} ;