mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Fix assignement to selfadjoint-view when testing real-world problems
This commit is contained in:
parent
33e699c9fe
commit
c5f9eafcbc
@ -272,6 +272,7 @@ template<typename Solver> void check_sparse_spd_solving(Solver& solver, int maxS
|
||||
DenseVector b = it.rhs();
|
||||
DenseVector refX = it.refX();
|
||||
PermutationMatrix<Dynamic, Dynamic, StorageIndex> pnull;
|
||||
halfA.resize(A.rows(), A.cols());
|
||||
if(Solver::UpLo == (Lower|Upper))
|
||||
halfA = A;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user