From ece6b440f969c129afbc5e5aaa966ce1df6f78e2 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 19 Feb 2015 23:31:08 +0100 Subject: [PATCH] Fix a C++11 compilation issue in unit test --- test/sparse_solver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sparse_solver.h b/test/sparse_solver.h index 892a9777f..f0a4691e3 100644 --- a/test/sparse_solver.h +++ b/test/sparse_solver.h @@ -145,7 +145,7 @@ void check_sparse_solving_real_cases(Solver& solver, const typename Solver::Matr res_error = (b - A * x).norm()/b.norm(); } if (res_error > test_precision() ){ - std::cerr << "Test " << g_test_stack.back() << " failed in "EI_PP_MAKE_STRING(__FILE__) + std::cerr << "Test " << g_test_stack.back() << " failed in " EI_PP_MAKE_STRING(__FILE__) << " (" << EI_PP_MAKE_STRING(__LINE__) << ")" << std::endl << std::endl; abort(); }