mirror of https://github.com/CGAL/cgal
Fix division by zero in subdivision_masks_3.h
This commit is contained in:
parent
e7b91b92b8
commit
939305d659
|
|
@ -331,6 +331,7 @@ public:
|
|||
void vertex_node(vertex_descriptor vertex, Point& pt) {
|
||||
Halfedge_around_vertex_circulator vcir(vertex, *(this->pmesh));
|
||||
size_t n = circulator_size(vcir);
|
||||
CGAL_assertion(n > 0);
|
||||
|
||||
FT R[] = {0.0, 0.0, 0.0};
|
||||
Point_ref S = get(this->vpmap,vertex);
|
||||
|
|
|
|||
Loading…
Reference in New Issue