mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
extend operators += and -= to aliases
This commit is contained in:
@@ -48,6 +48,7 @@ template<typename VectorType> void vectorOps(const VectorType& v)
|
||||
a += b + b;
|
||||
a.xpr() -= b;
|
||||
a.xpr() -= b + b;
|
||||
a.alias() += a + a;
|
||||
}
|
||||
|
||||
void EigenTest::testVectorOps()
|
||||
|
||||
Reference in New Issue
Block a user