mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-30 15:34:01 +03:00
Roll-back to non-reproducible, but transitive Compare operation
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/hierarchical-reo@2988 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
ac942f8358
commit
ee2ae991e5
@ -314,10 +314,7 @@ class HypothesisRecombinationOrderer
|
||||
public:
|
||||
bool operator()(const Hypothesis* hypoA, const Hypothesis* hypoB) const
|
||||
{
|
||||
if(hypoA->RecombineCompare(*hypoB) != 0)
|
||||
return (hypoA->GetId() < hypoB->GetId());
|
||||
else
|
||||
return 0;
|
||||
return (hypoA->RecombineCompare(*hypoB) < 0);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user