mirror of
https://github.com/Z3Prover/z3
synced 2025-06-08 07:03:23 +00:00
parent
adb9a1c797
commit
f96133f4d9
4 changed files with 33 additions and 7 deletions
|
@ -199,8 +199,8 @@ extern "C" {
|
|||
RESET_ERROR_CODE();
|
||||
std::ostringstream buffer;
|
||||
if (!to_goal_ref(g)->is_cnf()) {
|
||||
warning_msg("goal is not in CNF. This will produce a propositional abstraction. "
|
||||
"If this is not what you want, then preprocess by optional bit-blasting and applying tseitin-cnf");
|
||||
SET_ERROR_CODE(Z3_INVALID_ARG, "If this is not what you want, then preprocess by optional bit-blasting and applying tseitin-cnf");
|
||||
RETURN_Z3(nullptr);
|
||||
}
|
||||
to_goal_ref(g)->display_dimacs(buffer);
|
||||
// Hack for removing the trailing '\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue