mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Skip token mixes if total sum is 0
This case seems to actually be quite common during fuzzing
This commit is contained in:
parent
4e2d80fc67
commit
dcce3ea5ae
@ -1082,7 +1082,7 @@ namespace latinime {
|
||||
}
|
||||
|
||||
if(total_sum == 0.0f) {
|
||||
AKLOGE("Oh crap");
|
||||
continue;
|
||||
}
|
||||
|
||||
for(int j=0; j<NUM_TOKEN_MIX; j++) {
|
||||
|
Loading…
Reference in New Issue
Block a user