diff --git a/test/unit/solver/test_linear_solver_policy.hpp b/test/unit/solver/test_linear_solver_policy.hpp index d5589919d..f674e4774 100644 --- a/test/unit/solver/test_linear_solver_policy.hpp +++ b/test/unit/solver/test_linear_solver_policy.hpp @@ -217,10 +217,15 @@ void testExtremeInitialValue(std::size_t number_of_blocks, double initial_value) const size_t size = 5; auto builder = SparseMatrixPolicy::Create(size).SetNumberOfBlocks(number_of_blocks).InitialValue(1e-30); - for (std::size_t i = 0; i < size; ++i) - for (std::size_t j = 0; j < size; ++j) - if (i == j || gen_bool()) + for (std::size_t i = 0; i < size; ++i) { + for (std::size_t j = 0; j < size; ++j) { + if (i == j || gen_bool()) { + std::cout << i << ", " << j << "; "; builder = builder.WithElement(i, j); + } + } + std::cout << std::endl; + } SparseMatrixPolicy A(builder); MatrixPolicy b(number_of_blocks, size, 0.0);