Skip to content

Commit

Permalink
bug fix (#4160) (#4161)
Browse files Browse the repository at this point in the history
Signed-off-by: Tianchu <tianchu.zhang0706@gmail.com>
(cherry picked from commit 623434b)

Co-authored-by: Chortine <107395103+Chortine@users.noreply.github.com>
  • Loading branch information
mergify[bot] and Chortine authored Mar 1, 2024
1 parent 6003c10 commit 3e6c016
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 3e6c016

Please sign in to comment.