1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: Christian Bayle <bayle@debian.org>
Date: Fri, 3 Oct 2025 16:57:37 +0200
Subject: Fix double def in type_utils
Forwarded: not-needed
---
clients/include/type_utils.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clients/include/type_utils.h b/clients/include/type_utils.h
index c0f11cf..c761e25 100644
--- a/clients/include/type_utils.h
+++ b/clients/include/type_utils.h
@@ -194,10 +194,10 @@ template <typename T>
static constexpr bool is_complex = false;
template <>
-HIPBLAS_CLANG_STATIC constexpr bool is_complex<hipblasComplex> = true;
+HIPBLAS_CLANG_STATIC inline constexpr bool is_complex<hipblasComplex> = true;
template <>
-HIPBLAS_CLANG_STATIC constexpr bool is_complex<hipblasDoubleComplex> = true;
+HIPBLAS_CLANG_STATIC inline constexpr bool is_complex<hipblasDoubleComplex> = true;
// Get base types from complex types.
template <typename T, typename = void>
|