Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
samayala22 committed May 22, 2024
1 parent 2b9151a commit b105550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion headeronly/linalg.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ namespace linalg
template<typename T, typename V = void> struct has_type_definition : std::false_type {};
template<typename T> struct has_type_definition<T, std::void_t<decltype(T::_linalg_type)>> : std::true_type {};
template<typename T, typename Enable = void> struct is_custom_scalar : std::false_type {};
template<typename T> struct is_custom_scalar<T, std::enable_if_t<has_type_definition<T>::value && (T::category == Type::Scalar)>> : std::true_type {};
template<typename T> struct is_custom_scalar<T, std::enable_if_t<has_type_definition<T>::value && (T::_linalg_type == Type::Scalar)>> : std::true_type {};

// SFINAE helper which is defined if all provided types are scalars
struct empty {};
Expand Down

0 comments on commit b105550

Please sign in to comment.