mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Remove const from return-by-value types (issue #1087)
libeigen/eigen!2144 Closes #1087 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
@@ -244,7 +244,7 @@ class TriangularView
|
||||
}
|
||||
|
||||
template <typename Other>
|
||||
EIGEN_DEVICE_FUNC inline const Solve<TriangularView, Other> solve(const MatrixBase<Other>& other) const {
|
||||
EIGEN_DEVICE_FUNC inline Solve<TriangularView, Other> solve(const MatrixBase<Other>& other) const {
|
||||
return Solve<TriangularView, Other>(*this, other.derived());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user