Fix range issue in weights (#8888)

## Summary of Changes

Outward construction does an inward construction for each hole, but the
hole weights start at [1] in the weight range, not [0].

## Release Management

* Affected package(s): `Straight_skeleton_extrusion_2`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
This commit is contained in:
Sebastien Loriot 2025-05-16 13:04:13 +02:00 committed by GitHub
commit 7b37a89728
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ public:
CGAL_SS_i::vertices_begin(hole),
CGAL_SS_i::vertices_end(hole),
std::begin(no_holes), std::end(no_holes),
std::begin(speeds[hole_id]), std::end(speeds[hole_id]),
std::begin(speeds[1 + hole_id]), std::end(speeds[1 + hole_id]),
std::begin(no_speeds), std::end(no_speeds),
m_gt);