Fix bad copy paste

This commit is contained in:
Mael Rouxel-Labbé 2025-11-26 00:13:17 +01:00
parent 5d724132a2
commit fa5f5aaf2a
1 changed files with 5 additions and 5 deletions

View File

@ -911,18 +911,18 @@ private:
} }
Steiner_status compute_steiner_point(const Gate& gate, Steiner_status compute_steiner_point(const Gate& gate,
Point_2& steiner_point) const Point_3& steiner_point) const
{ {
const Face_handle fh = gate.face(); const Facet& f = gate.facet();
const Cell_handle ch = f.first; const Cell_handle ch = f.first;
const int s = f.second; const int s = f.second;
const Cell_handle nh = ch->neighbor(s); const Cell_handle nh = ch->neighbor(s);
return compute_steiner_point(ch, nh, steiner_point); return compute_steiner_point(ch, nh, steiner_point);
} }
bool compute_steiner_point(const Cell_handle ch, Steiner_status compute_steiner_point(const Cell_handle ch,
const Cell_handle neighbor, const Cell_handle neighbor,
Point_3& steiner_point) const Point_3& steiner_point) const
{ {
CGAL_precondition(!m_tr.is_infinite(neighbor)); CGAL_precondition(!m_tr.is_infinite(neighbor));