Add missing inline keywords

This commit is contained in:
Gael Guennebaud
2016-10-25 20:20:09 +02:00
parent 3e194a6a73
commit aad72f3c6d
3 changed files with 6 additions and 5 deletions

View File

@@ -559,7 +559,8 @@ pblend(const Selector<unpacket_traits<Packet>::size>& ifPacket, const Packet& th
}
/** \internal \returns \a a with last coefficients replaced by the scalar b */
template<typename Packet> EIGEN_DEVICE_FUNC Packet pinsertlast(const Packet& a, typename unpacket_traits<Packet>::type b)
template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
pinsertlast(const Packet& a, typename unpacket_traits<Packet>::type b)
{
// Default implementation based on pblend.
// It must be specialized for higher performance.