Closed shashi closed 4 years ago
This should be fixed with the new Z3 version where z3::exception is then a subclass of std::exception. The latter is then caught on the Julia side via CxxWrap.jl
Also the operator &
only works for bitvector expressions (see https://z3prover.github.io/api/html/namespacez3.html#a6849e10009affbf81993e415c09b1ae2). If you use it for other expressions like the one above, then Z3 throws an exception.
To take the conjunction of expressions you have to use and(x>2, y==1)
or and([x>2, y==1])
. Similar with or
.
Fantastic! your suggestions worked!! Thank you!
This is quite jarring haha. It sounds like an exception was not caught on the Julia side... How is this usually fixed? I can attempt a PR.