提交 e68c3ad5 编写于 作者: H Haonan 提交者: GitHub

Merge pull request #86 from emailweixu/fix_signed_comparison

Fix signed/unsigned comparison for gcc 4.9
......@@ -676,7 +676,8 @@ void RecurrentGradientMachine::createInFrameInfo(int inlinkId,
if (hasSubseq) {
// inFrameLine create sequenceStartPositions one time
CHECK_EQ(sequenceStartPositions.size(),
maxSequenceLength_ + input.getNumSubSequences());
static_cast<size_t>(maxSequenceLength_ +
input.getNumSubSequences()));
CHECK_EQ(inlinkInfo->seqStartPosIndex.size(),
static_cast<size_t>(maxSequenceLength_ + 1));
createSeqPos(sequenceStartPositions, &inlinkInfo->sequenceStartPositions);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册