mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add a .reverse() member to ArithmeticSequence.
This commit is contained in:
@@ -27,6 +27,8 @@ template<int N> struct fix_t {
|
||||
eigen_internal_assert(int(other)==N);
|
||||
}
|
||||
|
||||
fix_t<-N> operator-() const { return fix_t<-N>(); }
|
||||
|
||||
#if EIGEN_HAS_CXX14
|
||||
// Needed in C++14 to allow fix<N>():
|
||||
fix_t operator() () const { return *this; }
|
||||
|
||||
Reference in New Issue
Block a user