From 2719599e62c364ea76ec0e9116c36da0e451fe8c Mon Sep 17 00:00:00 2001 From: Xin Pan Date: Thu, 31 May 2018 15:09:50 +0800 Subject: [PATCH] clean --- paddle/contrib/inference/test_paddle_inference_api_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/contrib/inference/test_paddle_inference_api_impl.cc b/paddle/contrib/inference/test_paddle_inference_api_impl.cc index 57c39c50f1..e980e8c3b7 100644 --- a/paddle/contrib/inference/test_paddle_inference_api_impl.cc +++ b/paddle/contrib/inference/test_paddle_inference_api_impl.cc @@ -144,7 +144,7 @@ TEST(paddle_inference_api_impl, image_classification) { float* data = static_cast(outputs[0].data.data); float* lod_data = output1.data(); for (size_t j = 0; j < len / sizeof(float); ++j) { - EXPECT_NEAR (lod_data[j], data[j], 1e-6); + EXPECT_NEAR(lod_data[j], data[j], 1e-6); } free(data); } -- GitLab