Skip to content

Commit

Permalink
Remove unnecessary emplace
Browse files Browse the repository at this point in the history
  • Loading branch information
tsocha committed Dec 10, 2021
1 parent ce0a766 commit c10e87f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion paddle/fluid/operators/roi_align_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ std::vector<offsets_and_ratios<T>> get_indexes_and_ratios(

// deal with elements out of map
if (y < -1.0 || y > height || x < -1.0 || x > width) {
interpolation_cords.emplace_back();
continue;
}
y = y <= 0 ? 0 : y;
Expand Down

0 comments on commit c10e87f

Please sign in to comment.