An error in opennurbs_point.cpp?

Hi,

opennurbs_point.cpp lines 362-366 (belong to 4dPoint::ProjectiveCompare):
if (0.0 != lhs.w && 0.0 != rhs.w)
{
// neither lhs.w nor rhs.w is a nan
return ON_3dPoint::Compare(ON_3dPoint(lhs), ON_3dPoint(lhs));
}

Should the line in bold be a lhs to rhs based comparison?

Regards,

Leo

Yes indeed - thanks for reporting.

https://mcneel.myjetbrains.com/youtrack/issue/RH-64969

– Dale

RH-64969 is fixed in Rhino 7 Service Release 9