diff --git a/test/packetmath.cpp b/test/packetmath.cpp index 32ee627525..c89fd7314a 100644 --- a/test/packetmath.cpp +++ b/test/packetmath.cpp @@ -126,8 +126,8 @@ template void packetmath() RealScalar refvalue = 0; for (int i=0; i(); - data2[i] = internal::random(); + data1[i] = internal::random()/PacketSize; + data2[i] = internal::random()/PacketSize; refvalue = std::max(refvalue,internal::abs(data1[i])); }