Fix score
Doesn't really matter all that much but there's also no reason to divide by 2
This commit is contained in:
parent
19036e4dec
commit
b7b11efb0d
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ pub fn score_en(ascii: u8) f32 {
|
||||||
// pulled that one out of my ass but works.
|
// pulled that one out of my ass but works.
|
||||||
return 0.0;
|
return 0.0;
|
||||||
}
|
}
|
||||||
return en[@intCast(index)] / 2;
|
return en[@intCast(index)];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (std.ascii.isPrint(ascii)) {
|
if (std.ascii.isPrint(ascii)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue