From 024243fee0c0feb6ab7a57ae7aff9acaf9fdffe7 Mon Sep 17 00:00:00 2001 From: dangqingqing Date: Thu, 10 Aug 2017 11:14:41 +0800 Subject: [PATCH] Fix typo error. --- paddle/gserver/tests/test_KmaxSeqScore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/gserver/tests/test_KmaxSeqScore.cpp b/paddle/gserver/tests/test_KmaxSeqScore.cpp index 30aadae7126..308abe68164 100644 --- a/paddle/gserver/tests/test_KmaxSeqScore.cpp +++ b/paddle/gserver/tests/test_KmaxSeqScore.cpp @@ -98,7 +98,7 @@ TEST(Layer, kmaxSeqScoreLayer) { std::vector mode = {false}; #ifndef PADDLE_ONLY_CPU - model.push_back(true); + mode.push_back(true); #endif for (auto hasSubseq : {false, true}) { -- GitLab