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:
bhaddow 2010-03-19 16:59:08 +00:00
parent ac942f8358
commit ee2ae991e5

View File

@ -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);
}
};