mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add postream for ostream-ing packets more reliably.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
02d9e1138a
commit
b860042263
@@ -10,7 +10,6 @@
|
||||
|
||||
#include "packetmath_test_shared.h"
|
||||
#include "random_without_cast_overflow.h"
|
||||
#include "packet_ostream.h"
|
||||
|
||||
template <typename T>
|
||||
inline T REF_ADD(const T& a, const T& b) {
|
||||
@@ -630,6 +629,7 @@ void packetmath() {
|
||||
negate_test<Scalar, Packet>(data1, data2, ref, PacketSize);
|
||||
CHECK_CWISE1_IF(PacketTraits::HasReciprocal, REF_RECIPROCAL, internal::preciprocal);
|
||||
CHECK_CWISE1(numext::conj, internal::pconj);
|
||||
|
||||
CHECK_CWISE1_IF(PacketTraits::HasSign, numext::sign, internal::psign);
|
||||
|
||||
for (int offset = 0; offset < 3; ++offset) {
|
||||
|
||||
Reference in New Issue
Block a user