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

Wrong erase/1 #38

Closed
JanWielemaker opened this issue Jul 13, 2020 · 1 comment
Closed

Wrong erase/1 #38

JanWielemaker opened this issue Jul 13, 2020 · 1 comment

Comments

@JanWielemaker
Copy link
Contributor

save_samples(M,G):-

This is surely not good, but not used in the tests. erase/1 takes a db ref. I think what is meant is

save_samples(M,G):-
  forall(retract(M:sampled(R,Sub,V),
         assertz(M:mem(G,R,Sub,V)))).
@friguzzi
Copy link
Owner

Thanks, fixed in 8fea36b

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