-
Notifications
You must be signed in to change notification settings - Fork 7
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
Exception with (!a && !b) || !b #2
Comments
On Apr 14, 2011, at 5:43 PM, liskin wrote:
Does this same problem fail if you write a dimacs cnf file? It looks like you passed the wrong number of clauses in the CNF data structure. p cnf 6 11 (The .cnf works fine for me, but YMMV.) -Denis |
On Apr 14, 2011, at 5:43 PM, liskin wrote:
So I've tried this now (compiled with 6.10.4) and I get an assertion error, even if I use CNF 6 11. I'll have to look into it. Thanks for reporting it. But for what it's worth, the same code works when I pass the cnf file. So it must be something stupid. -Denis |
On Thu, Apr 14, 2011 at 09:20:25PM -0700, dbueno wrote:
That was a typo which I fixed by editing the comment, but it remained wrong in |
With funsat 0.6.2 (compiled with ghc 7.0.3 after relaxing the base constraint to <5), I get an exception with this formula:
Otherwise it works quite well — after seeing this error I used the CNF form of the circuit and fed that to picosat and got the same results for hundreds of formulas, and it was actually much slower than funsat, so thanks very much for funsat, just please fix this one little issue. :-))
The text was updated successfully, but these errors were encountered: