Skip to content

Commit

Permalink
DEBUG_X_TABLE: Print log2 table size instaed of nwords
Browse files Browse the repository at this point in the history
  • Loading branch information
ampli committed Feb 19, 2023
1 parent 4d1008a commit 47267d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions link-grammar/parse/extract-links.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ extractor_t * extractor_new(Sentence sent)
pex->x_table_size = (1 << log2_table_size);

#ifdef DEBUG_X_TABLE
printf("Allocating x_table of size %u (nwords %d)\n",
pex->x_table_size, nwords);
printf("Allocating x_table of size %u (log2 %d)\n",
pex->x_table_size, log2_table_size);
#endif /* DEBUG_X_TABLE */

pex->x_table = (Pset_bucket**) xalloc(pex->x_table_size * sizeof(Pset_bucket*));
Expand Down

0 comments on commit 47267d1

Please sign in to comment.