Skip to content

Commit

Permalink
fix the typo in findDominantNode() #12
Browse files Browse the repository at this point in the history
  • Loading branch information
Minho5Oh committed Aug 6, 2024
1 parent b4a41ad commit ea9520a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/travel/tgs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ namespace travel {
for (int s_i = 0; s_i < 4; s_i++){
if (tgf_in[r_i][c_i][s_i].is_curr_data){
if (tgf_in[r_i][c_i][s_i].node_type == GROUND){
if (tgf_in[r_i][c_i][s_i].weight > tgf_in[max_tri_idx.row][max_tri_idx.row][max_tri_idx.tri].weight){
if (tgf_in[r_i][c_i][s_i].weight > tgf_in[max_tri_idx.row][max_tri_idx.col][max_tri_idx.tri].weight){
max_tri_idx.row = r_i;
max_tri_idx.col = c_i;
max_tri_idx.tri = s_i;
Expand Down

0 comments on commit ea9520a

Please sign in to comment.