Skip to content

Commit

Permalink
bug fix (#4160)
Browse files Browse the repository at this point in the history
Signed-off-by: Tianchu <tianchu.zhang0706@gmail.com>
  • Loading branch information
Chortine committed Mar 1, 2024
1 parent efd777e commit 623434b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ inline size_t findPathFurthestReachedPoint(const CriticData & data)

for (size_t i = 0; i < dists.shape(0); i++) {
min_id_by_path = 0;
min_distance_by_path = std::numeric_limits<float>::max();
for (size_t j = 0; j < dists.shape(1); j++) {
cur_dist = dists(i, j);
if (cur_dist < min_distance_by_path) {
Expand Down

0 comments on commit 623434b

Please sign in to comment.