aboutsummaryrefslogtreecommitdiff
path: root/src/lzsshuffman/lzsshuffmanstats.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/lzsshuffman/lzsshuffmanstats.nim')
-rw-r--r--src/lzsshuffman/lzsshuffmanstats.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lzsshuffman/lzsshuffmanstats.nim b/src/lzsshuffman/lzsshuffmanstats.nim
index 037ce5f..d5c1f3e 100644
--- a/src/lzsshuffman/lzsshuffmanstats.nim
+++ b/src/lzsshuffman/lzsshuffmanstats.nim
@@ -20,7 +20,7 @@ import lzsshuffmansymbol
20 20
21proc aggregateStats*(chain: LzssChain): tuple[symbolTable, positionTable: CountTableRef[uint16]] = 21proc aggregateStats*(chain: LzssChain): tuple[symbolTable, positionTable: CountTableRef[uint16]] =
22 var (symbolTable, positionTable) = (newCountTable[uint16](), newCountTable[uint16]()) 22 var (symbolTable, positionTable) = (newCountTable[uint16](), newCountTable[uint16]())
23 for node in chain.items: 23 for node in chain:
24 case node.kind: 24 case node.kind:
25 of character: 25 of character:
26 symbolTable.inc(node.character) 26 symbolTable.inc(node.character)