Skip to content

Commit efc2ac9

Browse files
authored
Merge pull request #13527 from JiabinYang/mac/fix_mac_compile
fix roi_perspective_transform_op.cc unused variable caused error on Mac
2 parents bcc7bff + c324cde commit efc2ac9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

paddle/fluid/operators/detection/roi_perspective_transform_op.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ namespace operators {
2323
using Tensor = framework::Tensor;
2424
using LoDTensor = framework::LoDTensor;
2525

26-
static constexpr int kROISize = 4;
27-
2826
template <typename T>
2927
bool GT_E(T a, T b) {
3028
return (a > b) || fabs(a - b) < 1e-4;

0 commit comments

Comments
 (0)