From c2ab36f47a34e572f37e3dd556ac8a04ab769277 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Thu, 4 Jun 2020 16:24:47 -0700 Subject: Fix broken packetmath test for logistic on Arm. --- test/packetmath.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'test/packetmath.cpp') diff --git a/test/packetmath.cpp b/test/packetmath.cpp index 032c0e4c8..540cf6a86 100644 --- a/test/packetmath.cpp +++ b/test/packetmath.cpp @@ -447,18 +447,20 @@ template void packetmath_real() VERIFY((numext::isnan)(data2[0])); } - { + if (PacketTraits::HasExp) { internal::scalar_logistic_op logistic; for (int i=0; i(-20,20); } - internal::pstore(data2, logistic.packetOp(internal::pload(data1))); + + test::packet_helper h; + h.store(data2, logistic.packetOp(h.load(data1))); for (int i=0; i