From 38e82868cf3c1939db167a5f983494bc00f8d4a6 Mon Sep 17 00:00:00 2001 From: zyfncg Date: Tue, 27 Sep 2022 14:51:02 +0800 Subject: [PATCH] Fix syntax errors of args name in int_array.h (#46521) --- paddle/phi/common/int_array.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paddle/phi/common/int_array.h b/paddle/phi/common/int_array.h index 91b9ace136b..ca6f7fc17d2 100644 --- a/paddle/phi/common/int_array.h +++ b/paddle/phi/common/int_array.h @@ -35,12 +35,12 @@ class IntArrayBase { IntArrayBase(std::initializer_list array_list) : array_(array_list) {} - IntArrayBase(const int64_t* date_value, int64_t n) { - AssignData(date_value, n); + IntArrayBase(const int64_t* data_value, int64_t n) { + AssignData(data_value, n); } - IntArrayBase(const int32_t* date_value, int64_t n) { - AssignData(date_value, n); + IntArrayBase(const int32_t* data_value, int64_t n) { + AssignData(data_value, n); } bool FromTensor() const { return is_from_tensor_; } -- GitLab