diff --git a/.gitignore b/.gitignore index a026149463017a0e3f91fccade8d576a790e2208..9b533badeb77a6d515746eb716095faf927d5e27 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/ov8/trash +/ov8/trash/ /ov8/test_files/enwik8 /ov8/test_files/opg8-2021.pdf diff --git a/ov8/huffman.py b/ov8/huffman.py index cb5af2cf5598ef885d4663c8ec6e20bfe9626a49..a43bcb6a3f5f59d017bfc30a5804463cba327694 100644 --- a/ov8/huffman.py +++ b/ov8/huffman.py @@ -16,9 +16,7 @@ class node: # tree direction (0/1) self.huff = '' -# utility function to print huffman -# codes for all symbols in the newly -# created Huffman tree + def printNodes(node, val=''):