diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-08-16 10:55:10 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-08-16 10:55:10 +0200 |
commit | fc9480cbb38db2c7585e3ac5d14719237a85d2d7 (patch) | |
tree | 5de889a7cc9294b791f3bf06c4987360fa86dce7 /Eigen/src/LU/PartialLU.h | |
parent | ee982709d37e219e9d67beaf777a5bf2131e835e (diff) |
bugfix in compute_matrix_flags, optimization in LU,
improve doc, and workaround aliasing detection in MatrixBase_eval snippet
(not very nice but I don't know how to do it in a better way)
Diffstat (limited to 'Eigen/src/LU/PartialLU.h')
-rw-r--r-- | Eigen/src/LU/PartialLU.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/LU/PartialLU.h b/Eigen/src/LU/PartialLU.h index eb5c3d34b..0ef59bac7 100644 --- a/Eigen/src/LU/PartialLU.h +++ b/Eigen/src/LU/PartialLU.h @@ -248,7 +248,7 @@ struct ei_partial_lu_impl int rrows = rows-k-1; int rsize = size-k-1; lu.col(k).end(rrows) /= lu.coeff(k,k); - lu.corner(BottomRight,rrows,rsize) -= (lu.col(k).end(rrows) * lu.row(k).end(rsize)).lazy(); + lu.corner(BottomRight,rrows,rsize).noalias() -= lu.col(k).end(rrows) * lu.row(k).end(rsize); } } } |