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