0
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2026-01-18 17:31:19 +01:00

Add missing semicolon to has_fma definitions to fix GPU builds.

This commit is contained in:
Antonio Sánchez
2025-08-29 17:19:28 +00:00
parent 5d4485e767
commit 1e9d7ed7d3

View File

@@ -976,8 +976,7 @@ struct fma_impl<T, std::enable_if_t<has_fma<T>::value>> {
#if defined(EIGEN_GPUCC)
template <>
struct has_fma<float> : public true_type {
}
struct has_fma<float> : public true_type {};
template <>
struct fma_impl<float, void> {
@@ -987,8 +986,7 @@ struct fma_impl<float, void> {
};
template <>
struct has_fma<double> : public true_type {
}
struct has_fma<double> : public true_type {};
template <>
struct fma_impl<double, void> {