Skip to content

Commit

Permalink
Merge pull request #1517 from ampli/tracon-set
Browse files Browse the repository at this point in the history
tracon-set.c grow_table(): Use MAX_TRACON_SET_TABLE_SIZE
  • Loading branch information
linas authored Apr 27, 2024
2 parents 506fc7f + 558d4b6 commit 0f9ae60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions link-grammar/tracon-set.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ static void grow_table(Tracon_set *ss)
ss->table[p] = old.table[i];
}
}
ss->available_count = MAX_STRING_SET_TABLE_SIZE(ss->size) -
MAX_STRING_SET_TABLE_SIZE(old.size);
ss->available_count = MAX_TRACON_SET_TABLE_SIZE(ss->size) -
MAX_TRACON_SET_TABLE_SIZE(old.size);

tracon_set_stats(ss, ss, "after grow");
free(old.table);
Expand Down

0 comments on commit 0f9ae60

Please sign in to comment.