Skip to content

Commit 0e16503

Browse files
committed
update code
1 parent f7c0ad9 commit 0e16503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/operators/prior_box_op.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class PriorBoxOpKernel : public framework::OpKernel<T> {
165165
}
166166

167167
Eigen::Tensor<T, 2, Eigen::RowMajor> var_et(1, variances.size());
168-
for (int i = 0; i < variances.size(); ++i) {
168+
for (size_t i = 0; i < variances.size(); ++i) {
169169
var_et(0, i) = variances[i];
170170
}
171171

0 commit comments

Comments
 (0)