diff --git a/paddle/function/CropOpTest.cpp b/paddle/function/CropOpTest.cpp index dcba972e10662a20078f1c47f2ee4edcfba33700..6f11abfdf6f752857e0a75c62fb2b5c089c206d9 100644 --- a/paddle/function/CropOpTest.cpp +++ b/paddle/function/CropOpTest.cpp @@ -36,7 +36,7 @@ TEST(Crop, real) { BufferArg(VALUE_TYPE_FLOAT, test_grad ? outDims : inDims)); compare.addOutputs(BufferArg(VALUE_TYPE_FLOAT, test_grad ? inDims : outDims, - tes_grad ? ADD_TO : ASSIGN_TO), + test_grad ? ADD_TO : ASSIGN_TO), test_grad ? ADD_TO : ASSIGN_TO); compare.run(); }