]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Loosen accuracy somewhat, as this seems necessary for x86 on linux
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Apr 2003 15:55:28 +0000 (15:55 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Apr 2003 15:55:28 +0000 (15:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@7454 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/grid_transform.cc

index d8f9798a884e765fd2e006b7624476851a176473..5076333596f5eb1fcb950949b49e3ef7dadbb190 100644 (file)
@@ -69,7 +69,7 @@ int main ()
                   vertex_no<GeometryInfo<dim>::vertices_per_face; ++vertex_no)
                {
                  const Point<dim> &v=face->vertex(vertex_no);
-                 if (fabs(sqrt(v.square())-outer_radius)<1e-15)
+                 if (fabs(sqrt(v.square())-outer_radius)<1e-12)
                    {
                                                       // leave the
                                                       // point, where
@@ -77,7 +77,7 @@ int main ()
                      new_points.insert(std::pair<unsigned int, Point<dim> > (
                        face->vertex_index(vertex_no), v));
                    }
-                 else if (fabs(sqrt(v.square())-inner_radius)<1e-15)
+                 else if (fabs(sqrt(v.square())-inner_radius)<1e-12)
                    {
                                                       // move the
                                                       // center of

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.