1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0022692: A wrong function is called inside the Extrema_CurveTool::IsRational

This commit is contained in:
JGV 2011-09-08 16:03:48 +00:00 committed by bugmaster
parent 9e9df9d90e
commit a569e8a002

View File

@ -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();
}
//=======================================================================