From a569e8a00287d7c7a11c10d804d9adc85ed5185c Mon Sep 17 00:00:00 2001 From: JGV <> Date: Thu, 8 Sep 2011 16:03:48 +0000 Subject: [PATCH] 0022692: A wrong function is called inside the Extrema_CurveTool::IsRational --- src/Extrema/Extrema_CurveTool.lxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } //=======================================================================