We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#script(python) class Observer(): pass def main(prg): prg.register_observer(Observer()) prg.ground([('base', [])]) prg.solve() #end. a(1..3,1). a(3..6,2). a(6..9,3). a(9..12,4). 2 { b(X,C): a(X,C) } 10. :~ b(X,C). [C,X] #show b/2.
> clingo test.lp clingo version 5.2.2 Reading from test.lp fish: 'clingo test.lp' terminated by signal SIGSEGV (Address boundary error)
The text was updated successfully, but these errors were encountered:
The documentation says An observer should be a class of the form below. Not all functions have to be implemented and can be ommited if not needed.
An observer should be a class of the form below. Not all functions have to be implemented and can be ommited if not needed.
Sorry, something went wrong.
Is this the same as the lucky issue #42? It doesn't seem to be as the patch was merged into master and released already.
I tried with a clingo binary built from master and see the same problem.
ddd4556
fix program observer
838d579
closes #105
🎉 Thank you for the quick response! The patch fixes the issue.
rkaminsk
No branches or pull requests
The text was updated successfully, but these errors were encountered: