Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes #1506

Merged
merged 11 commits into from
Apr 24, 2024
Merged

Small fixes #1506

merged 11 commits into from
Apr 24, 2024

Conversation

ampli
Copy link
Member

@ampli ampli commented Apr 23, 2024

No description provided.

ampli added 11 commits April 23, 2024 19:27
These prevents omission warning on DEBUG, and also makes it available in
gdb.
The code in build_disjuncts_for_exp(), due to "int rand_r()", cannot
handle more than INT_MAX disjuncts anyway, so use int here for
consistency. In any case, the number of disjuncts per sentence is
not expected to reach anything near this number (and here we handle
the number of disjuncts per X_node).
... so we will not need to update it if Word_struct get changed.
@linas linas merged commit ea94b09 into opencog:master Apr 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants