Fix assignement to selfadjoint-view when testing real-world problems

This commit is contained in:
Gael Guennebaud 2015-06-25 17:08:58 +02:00
parent 33e699c9fe
commit c5f9eafcbc

View File

@ -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