From e0b09ad533fae3172325012444ff627f4a3008a7 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 18 Jan 2018 15:33:04 -0700 Subject: [PATCH] Add small comments. --- tests/lac/vector_add_and_dot.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/lac/vector_add_and_dot.cc b/tests/lac/vector_add_and_dot.cc index bfe935c089..adf634e8b9 100644 --- a/tests/lac/vector_add_and_dot.cc +++ b/tests/lac/vector_add_and_dot.cc @@ -38,8 +38,11 @@ void check () check = v1; const number factor = 0.01432; + // do things by hand once v1.add(factor, v2); const number prod = v1 * v3; + + // then do it a second time with the add_and_dot function const number prod_check = check.add_and_dot(factor, v2, v3); if (test == 0 && std::is_same::value) { -- 2.39.5