diff --git a/test/packetmath.cpp b/test/packetmath.cpp index a804e8e73..48f80d9db 100644 --- a/test/packetmath.cpp +++ b/test/packetmath.cpp @@ -173,7 +173,7 @@ template void packetmath() CHECK_CWISE1(internal::negate, internal::pnegate); CHECK_CWISE1(internal::conj, internal::pconj); - for(int offset=0;offset<3) + for(int offset=0;offset<3;++offset) { for (int i=0; i void packetmath() if(PacketSize>1) { - for(int i=0;i(data1)); - VERIFY(areApprox(ref, data2, PacketSize) && "ploaddup"); + for(int offset=0;offset<4;++offset) + { + for(int i=0;i(data1+offset)); + VERIFY(areApprox(ref, data2, PacketSize) && "ploaddup"); + } } ref[0] = 0;