From 5d142b0c78f4c4157ada0a87ad194e891057ea0c Mon Sep 17 00:00:00 2001 From: fengjiayi Date: Mon, 14 Aug 2017 15:32:05 -0700 Subject: [PATCH] Fix compile errors --- paddle/operators/net_op_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/operators/net_op_test.cc b/paddle/operators/net_op_test.cc index ea6327f1b..019c25694 100644 --- a/paddle/operators/net_op_test.cc +++ b/paddle/operators/net_op_test.cc @@ -60,9 +60,9 @@ TEST(OpKernel, all) { TEST(NetOp, insert_op) { NetOp net; - auto op1 = std::shared_ptr( - new NOP("empty", {{"X", {"x"}}, {"W", {"w1"}}, {"b", {"b1"}}}, - {{"Out", {"y"}}}, {})); + auto op1 = std::shared_ptr( + new framework::NOP("empty", {{"X", {"x"}}, {"W", {"w1"}}, {"b", {"b1"}}}, + {{"Out", {"y"}}}, {})); net.AddOp(op1); net.InsertOp(0, op1); ASSERT_EQ(2UL, net.ops_.size()); -- GitLab