diff --git a/src/Extrema/Extrema_CurveTool.lxx b/src/Extrema/Extrema_CurveTool.lxx index dff224e8a3..62639de730 100755 --- a/src/Extrema/Extrema_CurveTool.lxx +++ b/src/Extrema/Extrema_CurveTool.lxx @@ -207,7 +207,7 @@ inline gp_Parab Extrema_CurveTool::Parabola(const Adaptor3d_Curve& C) inline Standard_Boolean Extrema_CurveTool::IsRational(const Adaptor3d_Curve& C) { - return C.Degree(); + return C.IsRational(); } //=======================================================================