mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28ded8800c | ||
|
|
0295f81a83 |
@@ -160,7 +160,11 @@ struct eigen_packet_wrapper
|
||||
{
|
||||
EIGEN_ALWAYS_INLINE operator T&() { return m_val; }
|
||||
EIGEN_ALWAYS_INLINE operator const T&() const { return m_val; }
|
||||
#if EIGEN_HAS_CXX11
|
||||
EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default;
|
||||
#else
|
||||
EIGEN_ALWAYS_INLINE eigen_packet_wrapper() {};
|
||||
#endif
|
||||
EIGEN_ALWAYS_INLINE eigen_packet_wrapper(const T &v) : m_val(v) {}
|
||||
EIGEN_ALWAYS_INLINE eigen_packet_wrapper& operator=(const T &v) {
|
||||
m_val = v;
|
||||
|
||||
@@ -51,7 +51,7 @@ min
|
||||
#else
|
||||
(min)
|
||||
#endif
|
||||
(const OtherDerived &other) const
|
||||
(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
|
||||
{
|
||||
return (min<PropagateFast>)(other);
|
||||
}
|
||||
@@ -115,7 +115,7 @@ max
|
||||
#else
|
||||
(max)
|
||||
#endif
|
||||
(const OtherDerived &other) const
|
||||
(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
|
||||
{
|
||||
return (max<PropagateFast>)(other);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user