From 799eb817ee2891f399e1b209d21a8718ea2a2832 Mon Sep 17 00:00:00 2001 From: jtlap Date: Thu, 7 Dec 2023 16:59:15 +0100 Subject: [PATCH] still 3 floating_value -> floating_ordered... --- include/kyosu/functions/lpnorm.hpp | 2 +- include/kyosu/types/cayley_dickson.hpp | 2 +- include/kyosu/types/impl/math.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/kyosu/functions/lpnorm.hpp b/include/kyosu/functions/lpnorm.hpp index 15fc99fd..b65db870 100644 --- a/include/kyosu/functions/lpnorm.hpp +++ b/include/kyosu/functions/lpnorm.hpp @@ -56,7 +56,7 @@ namespace kyosu //! @code //! namespace kyosu //! { -//! template< floating_value P, typename T, typename ... Ts> auto lpnorm(P p, T z,Ts ... zs ) const noexcept +//! template< floating_ordered_value P, typename T, typename ... Ts> auto lpnorm(P p, T z,Ts ... zs ) const noexcept //! } //! @endcode //! diff --git a/include/kyosu/types/cayley_dickson.hpp b/include/kyosu/types/cayley_dickson.hpp index 3630a4be..2054bd0d 100644 --- a/include/kyosu/types/cayley_dickson.hpp +++ b/include/kyosu/types/cayley_dickson.hpp @@ -191,7 +191,7 @@ namespace kyosu auto val = cst( eve::as>{} ); using val_t = std::remove_cvref_t; - if constexpr(!eve::floating_value) return val; + if constexpr(!eve::floating_ordered_value) return val; else return as_cayley_dickson_n_t::static_size,val_t>(val); } diff --git a/include/kyosu/types/impl/math.hpp b/include/kyosu/types/impl/math.hpp index c0b7242b..98e60391 100644 --- a/include/kyosu/types/impl/math.hpp +++ b/include/kyosu/types/impl/math.hpp @@ -285,7 +285,7 @@ namespace kyosu::_ } } - template + template KYOSU_FORCEINLINE constexpr auto dispatch(eve::tag_of const&, T const & p, Cs const &... zs) noexcept {