mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 10:09:36 +08:00
Add missing template keyword in evaluators
This commit is contained in:
parent
858ac9ffe0
commit
01c6308d6e
@ -349,7 +349,7 @@ struct evaluator_impl<EvalToTemp<ArgType> >
|
||||
template<int LoadMode>
|
||||
PacketReturnType packet(Index row, Index col) const
|
||||
{
|
||||
return m_resultImpl.packet<LoadMode>(row, col);
|
||||
return m_resultImpl.template packet<LoadMode>(row, col);
|
||||
}
|
||||
|
||||
template<int LoadMode>
|
||||
@ -361,13 +361,13 @@ struct evaluator_impl<EvalToTemp<ArgType> >
|
||||
template<int StoreMode>
|
||||
void writePacket(Index row, Index col, const PacketScalar& x)
|
||||
{
|
||||
m_resultImpl.writePacket<StoreMode>(row, col, x);
|
||||
m_resultImpl.template writePacket<StoreMode>(row, col, x);
|
||||
}
|
||||
|
||||
template<int StoreMode>
|
||||
void writePacket(Index index, const PacketScalar& x)
|
||||
{
|
||||
m_resultImpl.writePacket<StoreMode>(index, x);
|
||||
m_resultImpl.template writePacket<StoreMode>(index, x);
|
||||
}
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user