From 2024489bb85175ff77e27910b50f032e0b485325 Mon Sep 17 00:00:00 2001 From: Yang Yu Date: Mon, 22 Jan 2018 11:59:23 +0800 Subject: [PATCH] Fix CI --- paddle/operators/compare_op.h | 2 +- paddle/operators/elementwise_op_function.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/operators/compare_op.h b/paddle/operators/compare_op.h index 15e9cfcaabb..9c655d6c0d8 100644 --- a/paddle/operators/compare_op.h +++ b/paddle/operators/compare_op.h @@ -54,7 +54,7 @@ class CompareOpKernel public: void Compute(const framework::ExecutionContext& context) const override { using T = typename Functor::ELEM_TYPE; - ElementwiseComputeEx(context); + ElementwiseComputeEx(context); } }; diff --git a/paddle/operators/elementwise_op_function.h b/paddle/operators/elementwise_op_function.h index e6f3e39eceb..d749b8e8757 100644 --- a/paddle/operators/elementwise_op_function.h +++ b/paddle/operators/elementwise_op_function.h @@ -373,7 +373,7 @@ void ElementwiseComputeEx(const framework::ExecutionContext& ctx) { auto* x = ctx.Input("X"); auto* y = ctx.Input("Y"); auto* z = ctx.Output("Out"); - z->mutable_data(ctx.GetPlace()); + z->mutable_data(ctx.GetPlace()); TransformFunctor functor( x, y, z, ctx.template device_context(), Functor()); -- GitLab