mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-30 01:53:59 +08:00
Fix typo in CoreEvaluators.h
This commit is contained in:
parent
ee4f86f909
commit
ae3aba99db
@ -726,7 +726,7 @@ struct unary_evaluator<CwiseUnaryOp<core_cast_op<SrcType, DstType>, ArgType>, In
|
||||
Index count) const {
|
||||
constexpr int SrcLoadMode = plain_enum_min(SrcPacketBytes, LoadMode);
|
||||
PacketBlock<PacketType, NumPackets> packets;
|
||||
for (Index i = 0; i < NumPackets; i++) packets[i] = pzero(PacketType());
|
||||
for (Index i = 0; i < NumPackets; i++) packets.packet[i] = pzero(PacketType());
|
||||
Index offset = begin / SrcPacketSize;
|
||||
Index actualBegin = begin % SrcPacketSize;
|
||||
for (; offset < NumPackets; offset++) {
|
||||
@ -744,7 +744,7 @@ struct unary_evaluator<CwiseUnaryOp<core_cast_op<SrcType, DstType>, ArgType>, In
|
||||
Index count) const {
|
||||
constexpr int SrcLoadMode = plain_enum_min(SrcPacketBytes, LoadMode);
|
||||
PacketBlock<PacketType, NumPackets> packets;
|
||||
for (Index i = 0; i < NumPackets; i++) packets[i] = pzero(PacketType());
|
||||
for (Index i = 0; i < NumPackets; i++) packets.packet[i] = pzero(PacketType());
|
||||
Index offset = begin / SrcPacketSize;
|
||||
Index actualBegin = begin % SrcPacketSize;
|
||||
for (; offset < NumPackets; offset++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user