From: Luca Heltai Date: Wed, 22 Mar 2017 18:45:37 +0000 (+0100) Subject: Fixed closest_point_to_shape. X-Git-Tag: v8.5.0-rc1~20^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4074ed86a8321a6f33cccc717008fa5dd834fb0e;p=dealii.git Fixed closest_point_to_shape. --- diff --git a/tests/opencascade/closest_point_to_shape.cc b/tests/opencascade/closest_point_to_shape.cc index fdfdb61a0f..7c76a61d29 100644 --- a/tests/opencascade/closest_point_to_shape.cc +++ b/tests/opencascade/closest_point_to_shape.cc @@ -46,7 +46,7 @@ int main () Standard_Real radius(1.); GC_MakeCircle make_circle(axis, radius); - Handle(Geom_Curve) circle = make_circle.Value(); + Handle(Geom_Circle) circle = make_circle.Value(); TopoDS_Edge edge = BRepBuilderAPI_MakeEdge(circle); // Now get a few points and project