From: Luca Heltai Date: Sun, 17 Dec 2017 15:36:02 +0000 (+0100) Subject: Fix failing tests. X-Git-Tag: v9.0.0-rc1~644^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f666bd04d7546240528b46818f85404d30ed52a;p=dealii.git Fix failing tests. --- diff --git a/tests/opencascade/create_tria_02.cc b/tests/opencascade/create_tria_02.cc index b7165f3bed..e2f004d347 100644 --- a/tests/opencascade/create_tria_02.cc +++ b/tests/opencascade/create_tria_02.cc @@ -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(); diff --git a/tests/opencascade/normal_projection_01.cc b/tests/opencascade/normal_projection_01.cc index ddc02e7863..2af56e752d 100644 --- a/tests/opencascade/normal_projection_01.cc +++ b/tests/opencascade/normal_projection_01.cc @@ -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);