mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-10 00:03:17 +08:00
Add missing semicolon to has_fma
definitions to fix GPU builds.
This commit is contained in:
parent
5d4485e767
commit
1e9d7ed7d3
@ -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> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user