mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
partial LU optimization: noalias
This commit is contained in:
parent
30d47860dd
commit
4e9c227bd5
@ -355,7 +355,7 @@ struct ei_partial_lu_impl
|
|||||||
// A12 = A11^-1 A12
|
// A12 = A11^-1 A12
|
||||||
A11.template triangularView<UnitLowerTriangular>().solveInPlace(A12);
|
A11.template triangularView<UnitLowerTriangular>().solveInPlace(A12);
|
||||||
|
|
||||||
A22 -= A21 * A12;
|
A22.noalias() -= A21 * A12;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user