Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple changes; python 2 support, dictionary, mutator refactor #26

Merged
merged 15 commits into from Jan 19, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Fix for dictionary mutator failing to return correct values.

The dictionary mutator wasn't actually returning the correct values,
so was always claiming to fail.
  • Loading branch information
gerph committed Jan 7, 2020
commit faa8e5f9467efd3d94c242a7374ffe58b214cd82
@@ -361,7 +361,8 @@ def mutate(self, res):
res.append(0)
self.copy(res, res, pos, pos+len(word))
for k in range(len(word)):
res[pos+k] = ord(word[k])
res[pos+k] = word[k]
return res


class CorpusError(Exception):
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.