Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Tianchu <tianchu.zhang0706@gmail.com>
Signed-off-by: enricosutera <enricosutera@outlook.com>
  • Loading branch information
Chortine authored and enricosutera committed May 19, 2024
1 parent 921588e commit c5b34b7
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 c5b34b7

Please sign in to comment.