Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Tianchu <tianchu.zhang0706@gmail.com>
  • Loading branch information
Chortine authored and masf7g committed Mar 22, 2024
1 parent 91c0cb0 commit 8e89128
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 8e89128

Please sign in to comment.