Commit b1f0aff0 by Rudolf

Fix anomaly

This somehow worked, but with upcoming first-3 bits as throwaways, it no longer
does. FIXIT
parent c0d43fd5
Showing with 1 additions and 1 deletions
......@@ -51,7 +51,7 @@ struct tree *create_tree(FILE *file)
/* Create empty forest - whoah */
int ntrees = 0;
for (int i = 0; i < MY_BUF-1; i++) {
for (int i = 0; i < MY_BUF; i++) {
if (freq[i] > 0) {
forest[ntrees++] = insert_simple_tree(i, freq[i]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment