]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix up ambiguous call to std::sqrt
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Jun 2001 13:57:38 +0000 (13:57 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Jun 2001 13:57:38 +0000 (13:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@4760 0785d39b-7218-0410-832d-ea1e28bc413d

tests/fe/mapping_c1.cc

index 3286c4522ea97e2879812b4fd311f3bb199e5fc4..9b25c8d481dc7b69aef0915f84d179dae8b1e037 100644 (file)
@@ -33,7 +33,7 @@ int main ()
                                   // in the quality of the mesh, this
                                   // is ok
   Point<2> center;
-  HyperBallBoundary<2> circle(center, std::sqrt(2));
+  HyperBallBoundary<2> circle(center, std::sqrt(2.0));
   Triangulation<2> tria;
   GridGenerator::hyper_cube(tria, -1, 1);
   tria.set_boundary (0, circle);

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.