]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add small comments.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 18 Jan 2018 22:33:04 +0000 (15:33 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 18 Jan 2018 22:33:04 +0000 (15:33 -0700)
tests/lac/vector_add_and_dot.cc

index bfe935c089f75c0639d6639b69a2c5c5ff627292..adf634e8b981ed61c64764de6ffb55f435a2a174 100644 (file)
@@ -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<number,double>::value)
         {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.