Skip to content

Commit

Permalink
still 3 floating_value -> floating_ordered...
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlap committed Dec 7, 2023
1 parent 3687495 commit 799eb81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/kyosu/functions/lpnorm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
Expand Down
2 changes: 1 addition & 1 deletion include/kyosu/types/cayley_dickson.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ namespace kyosu
auto val = cst( eve::as<as_real_type_t<T>>{} );
using val_t = std::remove_cvref_t<decltype(val)>;

if constexpr(!eve::floating_value<val_t>) return val;
if constexpr(!eve::floating_ordered_value<val_t>) return val;
else return as_cayley_dickson_n_t<eve::element_type_t<T>::static_size,val_t>(val);
}

Expand Down
2 changes: 1 addition & 1 deletion include/kyosu/types/impl/math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ namespace kyosu::_
}
}

template<eve::floating_value T, typename ...Cs>
template<eve::floating_ordered_value T, typename ...Cs>
KYOSU_FORCEINLINE constexpr
auto dispatch(eve::tag_of<kyosu::lpnorm> const&, T const & p, Cs const &... zs) noexcept
{
Expand Down

0 comments on commit 799eb81

Please sign in to comment.