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> {