Correct small coding typo

main
Ian Beauregard 2020-10-19 12:38:17 -04:00
parent 1e81324573
commit 9d99ae9f9f
1 changed files with 1 additions and 1 deletions

View File

@ -1383,7 +1383,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"def string_to_ids(s, chars=POSSIBLE_CHARS):\n", "def string_to_ids(s, chars=POSSIBLE_CHARS):\n",
" return [POSSIBLE_CHARS.index(c) for c in s]" " return [chars.index(c) for c in s]"
] ]
}, },
{ {