Skip to content

Commit

Permalink
FIx check type unmatch in MaxOutLayer (#242)
Browse files Browse the repository at this point in the history
Compiled failed on gcc 4.6
  • Loading branch information
gangliao authored and luotao1 committed Oct 25, 2016
1 parent 07b2e5d commit 9c5c38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/gserver/layers/MaxOutLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9c5c38f

Please sign in to comment.