]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix failing tests.
authorLuca Heltai <luca.heltai@sissa.it>
Sun, 17 Dec 2017 15:36:02 +0000 (16:36 +0100)
committerLuca Heltai <luca.heltai@sissa.it>
Sun, 17 Dec 2017 15:36:02 +0000 (16:36 +0100)
tests/opencascade/create_tria_02.cc
tests/opencascade/normal_projection_01.cc

index b7165f3bed1029d1ae1ccdd3c3d430608b0467c1..e2f004d3472a64af9b922e822e0c2a04a686d2f8 100644 (file)
@@ -34,7 +34,7 @@ int main ()
   ps.push_back(Point<2>(0, 2));
   auto edge = interpolation_curve(ps);
 
-  BRepPrimAPI_MakeRevol::BRepPrimAPI_MakeRevol  revol(edge, gp_Ax1(gp_Pnt(0,0,0), gp_Dir(0,0,1)), -numbers::PI/2);
+  BRepPrimAPI_MakeRevol revol(edge, gp_Ax1(gp_Pnt(0,0,0), gp_Dir(0,0,1)), -numbers::PI/2);
   revol.Build();
   auto sh = revol.Shape();
 
index ddc02e7863276c337276e8a5d63148eadb4001be..2af56e752df1c14c742d66feabd86a22eb9962b3 100644 (file)
@@ -42,7 +42,7 @@ int main ()
   std::ofstream logfile("output");
 
   gp_Pnt center(.5,.5,.5);
-  Standard_Real radius(Point<3>().distance(point(center)));
+  Standard_Real radius(Point<3>().distance(point<3>(center)));
 
 
   TopoDS_Face face = BRepPrimAPI_MakeSphere(center, radius);

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.