const error on some compilers

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1544 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2008-01-21 21:01:15 +00:00
parent 54b42b17c3
commit 1a4740d79c

View File

@ -390,7 +390,7 @@ void Manager::CalcNBest(size_t count, TrellisPathList &ret,bool onlyDistinct) co
}
// factor defines stopping point for distinct n-best list if too many candidates identical
const size_t nBestFactor = StaticData::Instance().GetNBestFactor();
size_t nBestFactor = StaticData::Instance().GetNBestFactor();
if (nBestFactor < 1) nBestFactor = 1000; // 0 = unlimited
// MAIN loop