@@ -131,11 +131,11 @@ template <typename T, TestCond Condition> class CFPMatcher : public Matcher<T> {
131
131
else if constexpr (cpp::is_complex_type_same<T, _Complex long double >())
132
132
return matchComplex<long double >();
133
133
#ifdef LIBC_TYPES_HAS_CFLOAT16
134
- else if constexpr (cpp::is_complex_type_same<T, cfloat16>)
134
+ else if constexpr (cpp::is_complex_type_same<T, cfloat16>() )
135
135
return matchComplex<float16>();
136
136
#endif
137
137
#ifdef LIBC_TYPES_HAS_CFLOAT128
138
- else if constexpr (cpp::is_complex_type_same<T, cfloat128>)
138
+ else if constexpr (cpp::is_complex_type_same<T, cfloat128>() )
139
139
return matchComplex<float128>();
140
140
#endif
141
141
}
@@ -148,11 +148,11 @@ template <typename T, TestCond Condition> class CFPMatcher : public Matcher<T> {
148
148
else if constexpr (cpp::is_complex_type_same<T, _Complex long double >())
149
149
return explainErrorComplex<long double >();
150
150
#ifdef LIBC_TYPES_HAS_CFLOAT16
151
- else if constexpr (cpp::is_complex_type_same<T, cfloat16>)
151
+ else if constexpr (cpp::is_complex_type_same<T, cfloat16>() )
152
152
return explainErrorComplex<float16>();
153
153
#endif
154
154
#ifdef LIBC_TYPES_HAS_CFLOAT128
155
- else if constexpr (cpp::is_complex_type_same<T, cfloat128>)
155
+ else if constexpr (cpp::is_complex_type_same<T, cfloat128>() )
156
156
return explainErrorComplex<float128>();
157
157
#endif
158
158
}
0 commit comments