mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Remove meaningless assertion
Change-Id: I8c12a11e54e084cc0554c54cecb441e96a03df08
This commit is contained in:
parent
3c67f6a2d0
commit
a8ce88bf44
@ -1033,7 +1033,7 @@ namespace latinime {
|
||||
const ProximityInfo *const proximityInfo, const int sampledInputSize,
|
||||
const std::vector<hash_map_compat<int, float> > *const charProbabilities,
|
||||
int *const codePointBuf) {
|
||||
ASSERT(charProbabilities->size() >= 0 && sampledInputSize >= 0);
|
||||
ASSERT(sampledInputSize >= 0);
|
||||
memset(codePointBuf, 0, sizeof(codePointBuf[0]) * MAX_WORD_LENGTH);
|
||||
static const float DEMOTION_LOG_PROBABILITY = 0.3f;
|
||||
int index = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user