mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
add missing specialization
This commit is contained in:
parent
39477e697a
commit
c810d14d4d
@ -153,6 +153,19 @@ struct triangular_solver_selector<Lhs,Rhs,OnTheLeft,Mode,CompleteUnrolling,1> {
|
|||||||
{ triangular_solver_unroller<Lhs,Rhs,Mode,0,Rhs::SizeAtCompileTime>::run(lhs,rhs); }
|
{ triangular_solver_unroller<Lhs,Rhs,Mode,0,Rhs::SizeAtCompileTime>::run(lhs,rhs); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template<typename Lhs, typename Rhs, int Mode>
|
||||||
|
struct triangular_solver_selector<Lhs,Rhs,OnTheRight,Mode,CompleteUnrolling,1> {
|
||||||
|
static void run(const Lhs& lhs, Rhs& rhs)
|
||||||
|
{
|
||||||
|
Transpose<Lhs> trLhs(lhs);
|
||||||
|
Transpose<Rhs> trRhs(rhs);
|
||||||
|
|
||||||
|
triangular_solver_unroller<Transpose<Lhs>,Transpose<Rhs>,
|
||||||
|
((Mode&Upper)==Upper ? Lower : Upper) | (Mode&UnitDiag),
|
||||||
|
0,Rhs::SizeAtCompileTime>::run(trLhs,trRhs);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
} // end namespace internal
|
} // end namespace internal
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user