@@ -27,7 +27,7 @@ |
||
27 | 27 | } |
28 | 28 | ++$weights[$sample[$i]]; |
29 | 29 | } |
30 | - $weights[self::SYMBOL_EOF] = 1; // add the EOF marker to the encoding |
|
30 | + $weights[self::SYMBOL_EOF] = 1; // add the EOF marker to the encoding |
|
31 | 31 | |
32 | 32 | $queue = new HuffmanNodeQueue(); |
33 | 33 | arsort($weights); |