fix mistake: filtering wrong set of words

This commit is contained in:
Jonas Seiler 2023-06-16 10:18:47 +02:00
parent 5d6762194b
commit 859f324b89

View File

@ -9,7 +9,7 @@ end
function readInput(filter=(x->true))
words = Vector{String}()
for line in eachline("wordlist-german.txt")
if filter(line)
if !filter(line)
continue
end
push!(words, line)