From c5f9eafcbc2a5c7f513b1024d5666ebaebf016af Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 25 Jun 2015 17:08:58 +0200 Subject: Fix assignement to selfadjoint-view when testing real-world problems --- test/sparse_solver.h | 1 + 1 file changed, 1 insertion(+) (limited to 'test/sparse_solver.h') diff --git a/test/sparse_solver.h b/test/sparse_solver.h index 1d3d25b53..64f6ac4fe 100644 --- a/test/sparse_solver.h +++ b/test/sparse_solver.h @@ -272,6 +272,7 @@ template void check_sparse_spd_solving(Solver& solver, int maxS DenseVector b = it.rhs(); DenseVector refX = it.refX(); PermutationMatrix pnull; + halfA.resize(A.rows(), A.cols()); if(Solver::UpLo == (Lower|Upper)) halfA = A; else -- cgit v1.2.3