]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disambiguate the use of operator*
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 11 Feb 2015 13:58:30 +0000 (07:58 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 12 Feb 2015 13:31:41 +0000 (07:31 -0600)
tests/deal.II/kelly_crash_02.cc

index 4be39cbd62297d48e48889552a6ec70cf3183c99..e56a656ee9af0f7482024c42979c778296dfbaec 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2006 - 2014 by the deal.II authors
+// Copyright (C) 2006 - 2015 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -105,66 +105,66 @@ void test ()
     // points 15-18
     Point<dim>(0,  0, 7) + Point<dim> (std::cos(2*numbers::PI/6),
     std::sin(2*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
     Point<dim>(std::cos(0*numbers::PI/6),
     std::sin(0*numbers::PI/6),
     7) + Point<dim> (std::cos(2*numbers::PI/6),
     std::sin(2*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
     Point<dim>(std::cos(2*numbers::PI/6),
     std::sin(2*numbers::PI/6),
     7) + Point<dim> (std::cos(2*numbers::PI/6),
     std::sin(2*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
     Point<dim>(std::cos(4*numbers::PI/6),
     std::sin(4*numbers::PI/6),
     7) + Point<dim> (std::cos(2*numbers::PI/6),
     std::sin(2*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
 
     // points at the top of the
     // second extension
     // points 19-22
     Point<dim>(0,  0, 7) + Point<dim> (std::cos(6*numbers::PI/6),
     std::sin(6*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
     Point<dim>(std::cos(4*numbers::PI/6),
     std::sin(4*numbers::PI/6),
     7) + Point<dim> (std::cos(6*numbers::PI/6),
     std::sin(6*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
     Point<dim>(std::cos(6*numbers::PI/6),
     std::sin(6*numbers::PI/6),
     7) + Point<dim> (std::cos(6*numbers::PI/6),
     std::sin(6*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
     Point<dim>(std::cos(8*numbers::PI/6),
     std::sin(8*numbers::PI/6),
     7) + Point<dim> (std::cos(6*numbers::PI/6),
     std::sin(6*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
 
     // points at the top of the
     // third extension
     // points 23-26
     Point<dim>(0,  0, 7) + Point<dim> (std::cos(10*numbers::PI/6),
     std::sin(10*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
     Point<dim>(std::cos(8*numbers::PI/6),
     std::sin(8*numbers::PI/6),
     7) + Point<dim> (std::cos(10*numbers::PI/6),
     std::sin(10*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
     Point<dim>(std::cos(10*numbers::PI/6),
     std::sin(10*numbers::PI/6),
     7) + Point<dim> (std::cos(10*numbers::PI/6),
     std::sin(10*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
     Point<dim>(std::cos(0*numbers::PI/6),
     std::sin(0*numbers::PI/6),
     7) + Point<dim> (std::cos(10*numbers::PI/6),
     std::sin(10*numbers::PI/6),
-    0) * 4,
+    0) * 4.0,
 
   };
 

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.