From e8a8fe07e79048bdd30e4147e982e17b30b721be Mon Sep 17 00:00:00 2001 From: jerrywgz Date: Thu, 28 Feb 2019 03:53:14 +0000 Subject: [PATCH] fix code for windows CI, test=develop --- paddle/fluid/operators/detection/distribute_fpn_proposals_op.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/detection/distribute_fpn_proposals_op.h b/paddle/fluid/operators/detection/distribute_fpn_proposals_op.h index 7c852934b..f63e85662 100644 --- a/paddle/fluid/operators/detection/distribute_fpn_proposals_op.h +++ b/paddle/fluid/operators/detection/distribute_fpn_proposals_op.h @@ -93,7 +93,7 @@ class DistributeFpnProposalsOpKernel : public framework::OpKernel { } // define the output rois // pointer which point to each level fpn rois - T* multi_fpn_rois_data[num_level]; + std::vector multi_fpn_rois_data(num_level); // lod0 which will record the offset information of each level rois std::vector> multi_fpn_rois_lod0; for (int i = 0; i < num_level; ++i) { -- GitLab