mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-06 14:14:46 +08:00
Fix bug in 52d54278be
This commit is contained in:
parent
6d2dbfc453
commit
55c8fe8d0f
@ -44,7 +44,7 @@ struct test_cast_helper<FromScalar, FromPacket, ToScalar, ToPacket, true> {
|
|||||||
ref[i] = static_cast<const ToScalar>(data1[i]);
|
ref[i] = static_cast<const ToScalar>(data1[i]);
|
||||||
internal::pstore(data2, internal::pcast<FromPacket, ToPacket>(internal::pload<FromPacket>(data1)));
|
internal::pstore(data2, internal::pcast<FromPacket, ToPacket>(internal::pload<FromPacket>(data1)));
|
||||||
|
|
||||||
VERIFY(areApprox(ref, data2, PacketSize) && "internal::pcast<>");
|
VERIFY(test::areApprox(ref, data2, PacketSize) && "internal::pcast<>");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user