From dcbdd5bc547c7d0f631a44c8a5be76724e4f7324 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Thu, 4 Sep 2014 11:58:20 +0200 Subject: [PATCH] Clean the eigenelements tests. - Clean the output of the test. - Separate from previous commit to be able to retest previous test with same lib code. --- test/triqs/arrays/eigenelements.cpp | 57 ++++++++------------------ test/triqs/arrays/eigenelements.output | 31 -------------- 2 files changed, 16 insertions(+), 72 deletions(-) delete mode 100644 test/triqs/arrays/eigenelements.output diff --git a/test/triqs/arrays/eigenelements.cpp b/test/triqs/arrays/eigenelements.cpp index 14cdc03d..9507d6ec 100644 --- a/test/triqs/arrays/eigenelements.cpp +++ b/test/triqs/arrays/eigenelements.cpp @@ -29,19 +29,20 @@ using namespace triqs::arrays::linalg; using dcomplex = std::complex; template void check_eig(matrix M, matrix vectors, array values) { - auto _ = range(); - for (auto i : range(0,first_dim(M))) { - std::cerr << "check "<< i << std::endl; - std::cerr << (M -values(i))* vectors(i, _)< void test(M A) { - auto w = eigenelements(make_clone(A)); - std::cerr << "A = " << A << std::endl; - std::cerr << " values = " <