aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-03-27 14:41:46 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-03-27 14:41:46 +0000
commit49fc1e3e84d036c43ffbac0128588d47c5a11f36 (patch)
tree5e6875bd6edd311e55934a646a20cc5bb301d665 /test
parent3499f6eccd5fc56f13608a3ccf900aa70f6b1697 (diff)
add vectorization of sqrt for float
Diffstat (limited to 'test')
-rw-r--r--test/packetmath.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/packetmath.cpp b/test/packetmath.cpp
index 858bbb9c3..250398241 100644
--- a/test/packetmath.cpp
+++ b/test/packetmath.cpp
@@ -227,6 +227,7 @@ template<typename Scalar> void packetmath_real()
data2[i] = ei_random<Scalar>(0,1e6);
}
CHECK_CWISE1_IF(ei_packet_traits<Scalar>::HasLog, ei_log, ei_plog);
+ CHECK_CWISE1_IF(ei_packet_traits<Scalar>::HasSqrt, ei_sqrt, ei_psqrt);
}
void test_packetmath()