Remove meaningless assertion

Change-Id: I8c12a11e54e084cc0554c54cecb441e96a03df08
main
Ken Wakasa 2013-01-31 12:02:26 +09:00
parent 3c67f6a2d0
commit a8ce88bf44
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@ namespace latinime {
const ProximityInfo *const proximityInfo, const int sampledInputSize, const ProximityInfo *const proximityInfo, const int sampledInputSize,
const std::vector<hash_map_compat<int, float> > *const charProbabilities, const std::vector<hash_map_compat<int, float> > *const charProbabilities,
int *const codePointBuf) { int *const codePointBuf) {
ASSERT(charProbabilities->size() >= 0 && sampledInputSize >= 0); ASSERT(sampledInputSize >= 0);
memset(codePointBuf, 0, sizeof(codePointBuf[0]) * MAX_WORD_LENGTH); memset(codePointBuf, 0, sizeof(codePointBuf[0]) * MAX_WORD_LENGTH);
static const float DEMOTION_LOG_PROBABILITY = 0.3f; static const float DEMOTION_LOG_PROBABILITY = 0.3f;
int index = 0; int index = 0;