mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-14 18:33:16 +08:00
Missing inline keywords in AltiVec/PacketMath were making Avogadro fail
to compile (duplicate symbols).
This commit is contained in:
parent
252e0c45b2
commit
f7de12de69
@ -51,7 +51,7 @@ template<> struct ei_packet_traits<int> { typedef v4i type; enum {size=4}; };
|
|||||||
template<> struct ei_unpacket_traits<v4f> { typedef float type; enum {size=4}; };
|
template<> struct ei_unpacket_traits<v4f> { typedef float type; enum {size=4}; };
|
||||||
template<> struct ei_unpacket_traits<v4i> { typedef int type; enum {size=4}; };
|
template<> struct ei_unpacket_traits<v4i> { typedef int type; enum {size=4}; };
|
||||||
|
|
||||||
std::ostream & operator <<(std::ostream & s, const v4f & v)
|
inline std::ostream & operator <<(std::ostream & s, const v4f & v)
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
v4f v;
|
v4f v;
|
||||||
@ -62,7 +62,7 @@ std::ostream & operator <<(std::ostream & s, const v4f & v)
|
|||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ostream & operator <<(std::ostream & s, const v4i & v)
|
inline std::ostream & operator <<(std::ostream & s, const v4i & v)
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
v4i v;
|
v4i v;
|
||||||
@ -73,7 +73,7 @@ std::ostream & operator <<(std::ostream & s, const v4i & v)
|
|||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ostream & operator <<(std::ostream & s, const v4ui & v)
|
inline std::ostream & operator <<(std::ostream & s, const v4ui & v)
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
v4ui v;
|
v4ui v;
|
||||||
@ -84,7 +84,7 @@ std::ostream & operator <<(std::ostream & s, const v4ui & v)
|
|||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ostream & operator <<(std::ostream & s, const v4bi & v)
|
inline std::ostream & operator <<(std::ostream & s, const v4bi & v)
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
__vector __bool int v;
|
__vector __bool int v;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user