From 9c5c38fa2ab67fb09c0100637da5f5efbe5e71d5 Mon Sep 17 00:00:00 2001 From: gangliao Date: Mon, 24 Oct 2016 22:14:34 -0700 Subject: [PATCH] FIx check type unmatch in MaxOutLayer (#242) Compiled failed on gcc 4.6 --- paddle/gserver/layers/MaxOutLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/gserver/layers/MaxOutLayer.cpp b/paddle/gserver/layers/MaxOutLayer.cpp index 106ab26ba1a..a3de069bf7a 100644 --- a/paddle/gserver/layers/MaxOutLayer.cpp +++ b/paddle/gserver/layers/MaxOutLayer.cpp @@ -46,7 +46,7 @@ bool MaxOutLayer::init(const LayerMap& layerMap, Layer::init(layerMap, parameterMap); /* the size of inputs for maxout-layer is 1 */ - CHECK_EQ(config_.inputs_size(), 1UL); + CHECK_EQ(config_.inputs_size(), 1); const MaxOutConfig& conf = config_.inputs(0).maxout_conf(); groups_ = conf.groups(); -- GitLab