]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Try to fix test. 2559/head
authorLuca Heltai <luca.heltai@sissa.it>
Wed, 27 Apr 2016 10:42:38 +0000 (12:42 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Wed, 27 Apr 2016 10:42:38 +0000 (12:42 +0200)
tests/manifold/composition_manifold_04.cc

index c0d3c33b63c59a835fa58b5baccde4ed91df90ae..deec2cb00ad266262e02a56266c404a68c043b59 100644 (file)
@@ -43,9 +43,12 @@ int main ()
   cp[0][0] = 1.0;
   cp[1][0] = 1.0;
 
+  // Force roundoff errors on one side only
+  double eps=1e-10;
+
   // Last point
   cp[0][1] = -numbers::PI/4;
-  cp[1][1] =  numbers::PI/4;
+  cp[1][1] =  numbers::PI/4-eps;
 
   // Spacedim points
   std::vector<Point<spacedim> > sp(2);

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.