partial LU optimization: noalias

This commit is contained in:
Gael Guennebaud 2009-12-17 11:43:42 +01:00
parent 30d47860dd
commit 4e9c227bd5

View File

@ -355,7 +355,7 @@ struct ei_partial_lu_impl
// A12 = A11^-1 A12
A11.template triangularView<UnitLowerTriangular>().solveInPlace(A12);
A22 -= A21 * A12;
A22.noalias() -= A21 * A12;
}
}
return true;