mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-12 08:01:49 +08:00
Fixed hidden const correctness issue.
This commit is contained in:
parent
e2d46eac42
commit
e20f1a44bb
@ -157,10 +157,10 @@ template<typename Lhs, typename Rhs, int Mode>
|
|||||||
struct triangular_solver_selector<Lhs,Rhs,OnTheRight,Mode,CompleteUnrolling,1> {
|
struct triangular_solver_selector<Lhs,Rhs,OnTheRight,Mode,CompleteUnrolling,1> {
|
||||||
static void run(const Lhs& lhs, Rhs& rhs)
|
static void run(const Lhs& lhs, Rhs& rhs)
|
||||||
{
|
{
|
||||||
Transpose<Lhs> trLhs(lhs);
|
Transpose<const Lhs> trLhs(lhs);
|
||||||
Transpose<Rhs> trRhs(rhs);
|
Transpose<Rhs> trRhs(rhs);
|
||||||
|
|
||||||
triangular_solver_unroller<Transpose<Lhs>,Transpose<Rhs>,
|
triangular_solver_unroller<Transpose<const Lhs>,Transpose<Rhs>,
|
||||||
((Mode&Upper)==Upper ? Lower : Upper) | (Mode&UnitDiag),
|
((Mode&Upper)==Upper ? Lower : Upper) | (Mode&UnitDiag),
|
||||||
0,Rhs::SizeAtCompileTime>::run(trLhs,trRhs);
|
0,Rhs::SizeAtCompileTime>::run(trLhs,trRhs);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user