From 54eeab10d9ef4387db8a9c0a5c007e01029c47c1 Mon Sep 17 00:00:00 2001 From: Jacob Theisen <jacobth@stud.ntnu.no> Date: Tue, 9 Nov 2021 10:53:40 +0100 Subject: [PATCH] cleaning --- .gitignore | 2 +- ov8/huffman.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a026149..9b533ba 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 cb5af2c..a43bcb6 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=''): -- GitLab