Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#4646 from reyoung/feature/fix_compile…
Browse files Browse the repository at this point in the history
…_error

Fix compile error in develop branch
  • Loading branch information
reyoung authored Oct 9, 2017
2 parents 6600e23 + 92add2a commit d23cd51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/operators/adamax_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class AdamaxOp : public framework::OperatorWithKernel {
using framework::OperatorWithKernel::OperatorWithKernel;

protected:
void InferShape(framework::InferShapeContextBase *ctx) const override {
void InferShape(framework::InferShapeContext *ctx) const override {
PADDLE_ENFORCE(ctx->HasInput("Param"),
"Input(Param) of AdamaxOp should not be null.");
PADDLE_ENFORCE(ctx->HasInput("Grad"),
Expand Down

0 comments on commit d23cd51

Please sign in to comment.