mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 05:14:36 +03:00
Compiler warning
This commit is contained in:
parent
6bbf437ff7
commit
fc61084743
@ -45,9 +45,7 @@ class ChartHypothesisRecombinationOrderer
|
|||||||
public:
|
public:
|
||||||
bool operator()(const ChartHypothesis* hypoA, const ChartHypothesis* hypoB) const {
|
bool operator()(const ChartHypothesis* hypoA, const ChartHypothesis* hypoB) const {
|
||||||
// assert in same cell
|
// assert in same cell
|
||||||
const WordsRange &rangeA = hypoA->GetCurrSourceRange()
|
assert(hypoA->GetCurrSourceRange() == hypoB->GetCurrSourceRange());
|
||||||
, &rangeB = hypoB->GetCurrSourceRange();
|
|
||||||
assert(rangeA == rangeB);
|
|
||||||
|
|
||||||
// shouldn't be mixing hypos with different lhs
|
// shouldn't be mixing hypos with different lhs
|
||||||
assert(hypoA->GetTargetLHS() == hypoB->GetTargetLHS());
|
assert(hypoA->GetTargetLHS() == hypoB->GetTargetLHS());
|
||||||
|
Loading…
Reference in New Issue
Block a user