mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix bug in LanguageModel native code
This commit is contained in:
parent
99f87591fd
commit
3fbf2176df
@ -1060,6 +1060,8 @@ namespace latinime {
|
||||
|
||||
sortProbabilityPairVectorDescending(index_value, NUM_TOKEN_MIX);
|
||||
|
||||
if(index_value.size() < NUM_TOKEN_MIX) break;
|
||||
|
||||
bool needs_resorting = false;
|
||||
int num_symbols = 0;
|
||||
for(int s=0; s<4; s++) {
|
||||
|
Loading…
Reference in New Issue
Block a user