Sigma.jl icon indicating copy to clipboard operation
Sigma.jl copied to clipboard

SAT problem giving wrong result

Open zenna opened this issue 10 years ago • 0 comments

using Sigma
using Base.Test

A = flip()
B = flip()
C = flip()

formula = (A & B) | C
a, b, c = rand((A, B, C), formula, 1)
@test (a[1] & b[1]) | c[1]

it thinks its ok to sa=t a and b to both false. Which it's not, duh!

zenna avatar Sep 19 '15 12:09 zenna