Skip to content

Commit c287874

Browse files
committed
Set Eigen::Lower everywhere for UpLo template option
1 parent 0d7f534 commit c287874

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/solvers/solvers.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ void exposeSolvers() {
2020
using namespace Eigen;
2121

2222
using Eigen::Lower;
23-
using Eigen::Upper;
2423

2524
using Eigen::BiCGSTAB;
2625
using Eigen::ConjugateGradient;
@@ -32,13 +31,13 @@ void exposeSolvers() {
3231

3332
using IdentityBiCGSTAB = BiCGSTAB<MatrixXd, IdentityPreconditioner>;
3433
using IdentityConjugateGradient =
35-
ConjugateGradient<MatrixXd, Lower | Upper, IdentityPreconditioner>;
34+
ConjugateGradient<MatrixXd, Lower, IdentityPreconditioner>;
3635
using IdentityLeastSquaresConjugateGradient =
3736
LeastSquaresConjugateGradient<MatrixXd, IdentityPreconditioner>;
3837
using DiagonalLeastSquaresConjugateGradient = LeastSquaresConjugateGradient<
3938
MatrixXd, DiagonalPreconditioner<typename MatrixXd::Scalar>>;
4039

41-
ConjugateGradientVisitor<ConjugateGradient<MatrixXd, Lower | Upper>>::expose(
40+
ConjugateGradientVisitor<ConjugateGradient<MatrixXd, Lower>>::expose(
4241
"ConjugateGradient");
4342
ConjugateGradientVisitor<IdentityConjugateGradient>::expose(
4443
"IdentityConjugateGradient");

0 commit comments

Comments
 (0)