diff --git a/paddle/fluid/framework/fleet/box_wrapper.cc b/paddle/fluid/framework/fleet/box_wrapper.cc index 3fe2ca3e39538..75465c4ea842f 100644 --- a/paddle/fluid/framework/fleet/box_wrapper.cc +++ b/paddle/fluid/framework/fleet/box_wrapper.cc @@ -195,8 +195,8 @@ void BasicAucCalculator::calculate_bucket_error() { // Deprecated: should use BeginFeedPass & EndFeedPass void BoxWrapper::FeedPass(int date, - const std::vector& feasgin_to_box) const { - int ret = boxps_ptr_->FeedPass(date, feasgin_to_box); + const std::vector& feasign_to_box) const { + int ret = boxps_ptr_->FeedPass(date, feasign_to_box); PADDLE_ENFORCE_EQ( ret, 0, diff --git a/paddle/fluid/framework/fleet/box_wrapper.h b/paddle/fluid/framework/fleet/box_wrapper.h index 8d5560f6f80d7..2dee617925773 100644 --- a/paddle/fluid/framework/fleet/box_wrapper.h +++ b/paddle/fluid/framework/fleet/box_wrapper.h @@ -362,7 +362,7 @@ class BoxWrapper { virtual ~BoxWrapper() {} BoxWrapper() {} - void FeedPass(int date, const std::vector& feasgin_to_box) const; + void FeedPass(int date, const std::vector& feasign_to_box) const; void BeginFeedPass(int date, boxps::PSAgentBase** agent) const; void EndFeedPass(boxps::PSAgentBase* agent) const; void BeginPass() const;