mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* more MSVC warning fixes from Kenneth Riddile
* actually GCC 4.3.0 has a bug, "deprecated" placed at the end of a function prototype doesn't have any effect, moving them to the start of the function prototype makes it actually work! * finish porting the cholesky unit-test to the new LLT/LDLT, after the above fix revealed a deprecated warning
This commit is contained in:
@@ -63,9 +63,9 @@ template<typename MatrixType> void cholesky(const MatrixType& m)
|
||||
convert<VectorType>(vecB, gVecX);
|
||||
Gsl::cholesky(gMatA);
|
||||
Gsl::cholesky_solve(gMatA, gVecB, gVecX);
|
||||
VectorType vecX, _vecX, _vecB;
|
||||
VectorType vecX(rows), _vecX, _vecB;
|
||||
convert(gVecX, _vecX);
|
||||
vecX.set( symm.cholesky().solve(vecB) );
|
||||
symm.llt().solve(vecB, &vecX);
|
||||
Gsl::prod(gSymm, gVecX, gVecB);
|
||||
convert(gVecB, _vecB);
|
||||
// test gsl itself !
|
||||
|
||||
Reference in New Issue
Block a user