aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/packetmath.cpp
diff options
context:
space:
mode:
authorGravatar David Tellenbach <david.tellenbach@me.com>2020-07-01 20:41:59 +0200
committerGravatar David Tellenbach <david.tellenbach@me.com>2020-07-01 20:41:59 +0200
commitcb6315318316653479b184db447bc29040be8e6e (patch)
tree5c947819b1a3e527fd92f6fca3f2f15a12bd1928 /test/packetmath.cpp
parent116c5235ac5600672982e5a12a0ab89d19d2d5f0 (diff)
Make test packetmath C++98 compliant
Diffstat (limited to 'test/packetmath.cpp')
-rw-r--r--test/packetmath.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/packetmath.cpp b/test/packetmath.cpp
index 7821877db..0fe29102a 100644
--- a/test/packetmath.cpp
+++ b/test/packetmath.cpp
@@ -211,8 +211,8 @@ struct packetmath_pcast_ops_runner {
test_cast_runner<Packet, int64_t>::run();
test_cast_runner<Packet, uint64_t>::run();
test_cast_runner<Packet, bool>::run();
- test_cast_runner<Packet, std::complex<float>>::run();
- test_cast_runner<Packet, std::complex<double>>::run();
+ test_cast_runner<Packet, std::complex<float> >::run();
+ test_cast_runner<Packet, std::complex<double> >::run();
test_cast_runner<Packet, half>::run();
test_cast_runner<Packet, bfloat16>::run();
}
@@ -222,8 +222,8 @@ struct packetmath_pcast_ops_runner {
template <typename Scalar, typename Packet>
struct packetmath_pcast_ops_runner<Scalar, Packet, typename internal::enable_if<NumTraits<Scalar>::IsComplex>::type> {
static void run() {
- test_cast_runner<Packet, std::complex<float>>::run();
- test_cast_runner<Packet, std::complex<double>>::run();
+ test_cast_runner<Packet, std::complex<float> >::run();
+ test_cast_runner<Packet, std::complex<double> >::run();
test_cast_runner<Packet, half>::run();
test_cast_runner<Packet, bfloat16>::run();
}
@@ -252,7 +252,7 @@ void packetmath_boolean_mask_ops() {
// Packet16b representing bool does not support ptrue, pandnot or pcmp_eq, since the scalar path
// (for some compilers) compute the bitwise and with 0x1 of the results to keep the value in [0,1].
template<>
-void packetmath_boolean_mask_ops<bool, typename internal::packet_traits<bool>::type>() {}
+void packetmath_boolean_mask_ops<bool, internal::packet_traits<bool>::type>() {}
template <typename Scalar, typename Packet>
void packetmath() {