Skip to content

Commit 1bb4815

Browse files
committed
clear m_stop_vertices unconditionally in set_stop_conditions
1 parent 8579865 commit 1bb4815

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/surface/exact_geodesics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,8 +1343,8 @@ IntervalList GeodesicAlgorithmExact::getEdgeIntervals(Edge e) const { return m_e
13431343
void GeodesicAlgorithmExact::set_stop_conditions(const std::vector<SurfacePoint>& stop_points, double stop_distance) {
13441344
m_max_propagation_distance = stop_distance;
13451345

1346+
m_stop_vertices.clear();
13461347
if (stop_points.empty()) {
1347-
m_stop_vertices.clear();
13481348
return;
13491349
}
13501350

0 commit comments

Comments
 (0)