mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Give the axe to the aliasing system.
Improve the evaluation system instead.
This commit is contained in:
@@ -38,7 +38,7 @@ template<typename MatrixType> void matrixManip(const MatrixType& m)
|
||||
a.row(i) = b.row(i);
|
||||
a.row(i) += b.row(i);
|
||||
a.minor(i, j) = b.block(1, rows-1, 1, cols-1);
|
||||
//a.alias().minor(i, j) -= a.block(1, rows-1, 1, cols-1);
|
||||
a.minor(i, j) -= eval(a.block(1, rows-1, 1, cols-1));
|
||||
}
|
||||
|
||||
void EigenTest::testMatrixManip()
|
||||
|
||||
Reference in New Issue
Block a user