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

Fix for #43 breaks negation #44

Closed
mmarx opened this issue Apr 15, 2020 · 2 comments
Closed

Fix for #43 breaks negation #44

mmarx opened this issue Apr 15, 2020 · 2 comments

Comments

@mmarx
Copy link
Contributor

mmarx commented Apr 15, 2020

Consider the following edb.conf:

EDB0_predname=p
EDB0_type=INMEMORY
EDB0_param0=.
EDB0_param1=p
EDB1_predname=q
EDB1_type=INMEMORY
EDB1_param0=.
EDB1_param1=q

with p.csv containing

c

and q.csv containing

d

(i.e., both EDB predicates have a single constant fact).

Then the following rule

r(X) :- p(X),~q(X)

derives r(c) in 1b5dbdb (as expected), but r(d) in cf5a0ec and e0602fb, which is clearly wrong.

@CerielJacobs
Copy link
Contributor

Fixed. Sorry about that, apparently I missed a case.

@mmarx
Copy link
Contributor Author

mmarx commented Apr 15, 2020

No worries, thanks for the quick fix!

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

No branches or pull requests

2 participants