diff options
Diffstat (limited to 'src/lzsshuffman/lzsshuffmanstats.nim')
-rw-r--r-- | src/lzsshuffman/lzsshuffmanstats.nim | 2 |
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 | ||
21 | proc aggregateStats*(chain: LzssChain): tuple[symbolTable, positionTable: CountTableRef[uint16]] = | 21 | proc 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) |