From 88ff7dc2e325a5993ec89b218a2914e19ea2de27 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 17 Sep 2015 13:05:12 -0500 Subject: [PATCH] update tests --- tests/base/symmetric_tensor_06.cc | 2 +- tests/base/symmetric_tensor_07.cc | 2 +- tests/base/tensor_09.cc | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/base/symmetric_tensor_06.cc b/tests/base/symmetric_tensor_06.cc index 2401e8c352..bd385967d6 100644 --- a/tests/base/symmetric_tensor_06.cc +++ b/tests/base/symmetric_tensor_06.cc @@ -67,7 +67,7 @@ void test () } bs[i][j] = tmp_ij; } - ba = contract<2,0,3,1>(ta, aa); + ba = double_contract<2,0,3,1>(ta, aa); for (unsigned int i=0; i 0, 3 <-> 1 - ba = contract<2, 0, 3, 1>(ta, aa); + ba = double_contract<2, 0, 3, 1>(ta, aa); for (unsigned int i=0; i result; - deallog << contract<2, 0, 3, 1>(rank4, rank2) << std::endl; - deallog << contract<3, 1, 2, 0>(rank4, rank2) << std::endl; - deallog << contract<0, 2, 1, 3>(rank2, rank4) << std::endl; - deallog << contract<1, 3, 0, 2>(rank2, rank4) << std::endl; + deallog << double_contract<2, 0, 3, 1>(rank4, rank2) << std::endl; + deallog << double_contract<3, 1, 2, 0>(rank4, rank2) << std::endl; + deallog << double_contract<0, 2, 1, 3>(rank2, rank4) << std::endl; + deallog << double_contract<1, 3, 0, 2>(rank2, rank4) << std::endl; double_contract(result, rank4, rank2); deallog << result << std::endl << std::endl; -- 2.39.5