Fix score

Doesn't really matter all that much but there's also no reason to
divide by 2
This commit is contained in:
Armin Friedl 2025-02-08 16:36:49 +01:00
parent 19036e4dec
commit b7b11efb0d

View file

@ -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)) {