3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-23 14:23:40 +00:00

limit recursion depth of push_not() to 8 (#4917)

This commit is contained in:
Nuno Lopes 2020-12-29 03:55:43 +00:00 committed by GitHub
parent 374ae52d70
commit 799de71a9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -141,7 +141,7 @@ inline app_ref mk_not(const app_ref& e) { return app_ref(e.m().mk_not(e), e.m())
/**
Negate and push over conjunction or disjunction.
*/
expr_ref push_not(const expr_ref& arg);
expr_ref push_not(const expr_ref& arg, unsigned limit = 8);
/**
Return the expression (and (not (= args[0] args[1])) (not (= args[0] args[2])) ... (not (= args[num_args-2] args[num_args-1])))