@@ -34,7 +34,7 @@ namespace tensor
3434namespace py_internal
3535{
3636
37- namespace
37+ namespace detail
3838{
3939template <typename fpT> struct ExtendedRealFPLess
4040{
@@ -103,30 +103,30 @@ inline constexpr bool is_fp_v =
103103 (std::is_same_v<T, sycl::half> || std::is_same_v<T, float > ||
104104 std::is_same_v<T, double >);
105105
106- } // end of anonymous namespace
106+ } // end of namespace detail
107107
108108template <typename argTy> struct AscendingSorter
109109{
110- using type = std::conditional_t <is_fp_v<argTy>,
111- ExtendedRealFPLess<argTy>,
110+ using type = std::conditional_t <detail:: is_fp_v<argTy>,
111+ detail:: ExtendedRealFPLess<argTy>,
112112 std::less<argTy>>;
113113};
114114
115115template <typename T> struct AscendingSorter <std::complex <T>>
116116{
117- using type = ExtendedComplexFPLess<std::complex <T>>;
117+ using type = detail:: ExtendedComplexFPLess<std::complex <T>>;
118118};
119119
120120template <typename argTy> struct DescendingSorter
121121{
122- using type = std::conditional_t <is_fp_v<argTy>,
123- ExtendedRealFPGreater<argTy>,
122+ using type = std::conditional_t <detail:: is_fp_v<argTy>,
123+ detail:: ExtendedRealFPGreater<argTy>,
124124 std::greater<argTy>>;
125125};
126126
127127template <typename T> struct DescendingSorter <std::complex <T>>
128128{
129- using type = ExtendedComplexFPGreater<std::complex <T>>;
129+ using type = detail:: ExtendedComplexFPGreater<std::complex <T>>;
130130};
131131
132132} // end of namespace py_internal
0 commit comments