提交 e20ff3b3 编写于 作者: L luotao1 提交者: GitHub

fix build bug in gcc46 (#236)

上级 ac383dd0
...@@ -258,7 +258,7 @@ void SgdThreadUpdater::threadUpdateSparse( ...@@ -258,7 +258,7 @@ void SgdThreadUpdater::threadUpdateSparse(
} }
// For numThreads > 1, MultiGradientMachine is used, which goes // For numThreads > 1, MultiGradientMachine is used, which goes
// to the above branch. // to the above branch.
CHECK_EQ(numThreads, 1); CHECK_EQ(numThreads, 1UL);
mainMat->clearIndices(); mainMat->clearIndices();
} else { } else {
auto & m = *para->getMat(PARAMETER_GRADIENT).get(); auto & m = *para->getMat(PARAMETER_GRADIENT).get();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册