OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-link-grammar commits / f0c591e

table_count(): Bugfix !USE_TABLE_TRACON
Fix bug in tracon table debug when USE_TABLE_TRACON is disabled, introduced in commit 2112df2
f0c591ec11edf31b04f003ced012c31858fd6235
by ampli <amirpli@gmail.com> · 2024-05-29T23:14:55.000Z

Changed files (1) +1 -1

link-grammar/parse/count.c +1 -1
……@@ -957,7 +957,7 @@ static Count_bin table_count(count_context_t * ctxt,
957957 int lw, int rw, Connector *le, Connector *re,
958958 unsigned int null_count)
959959{
960 if (!USE_TABLE_TRACON) return true;
960 if (!USE_TABLE_TRACON) return count_unknown;
961961
962962 /* This check is not necessary for correctness, but it saves CPU time.
963963 * If a cross link would result, we know that the count would be 0.