Skip to content

Commit fe17697

Browse files
authored
Reverted deleting static keyword
1 parent 7d1fd23 commit fe17697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/operators/concat_op.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static inline framework::DDim ComputeAndCheckShape(
7171
return out_dims;
7272
}
7373

74-
inline int64_t ComputeAxis(int64_t axis, int64_t rank) {
74+
static inline int64_t ComputeAxis(int64_t axis, int64_t rank) {
7575
PADDLE_ENFORCE_EQ(
7676
axis >= -rank && axis < rank, true,
7777
platform::errors::InvalidArgument(

0 commit comments

Comments
 (0)