mirror of
https://github.com/Z3Prover/z3
synced 2025-06-04 13:21:22 +00:00
remove assert, remove brittle pydoc example
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b6ee0b151a
commit
41ab578593
2 changed files with 0 additions and 5 deletions
|
@ -820,10 +820,6 @@ def Function(name, *sig):
|
||||||
|
|
||||||
def FreshFunction(*sig):
|
def FreshFunction(*sig):
|
||||||
"""Create a new fresh Z3 uninterpreted function with the given sorts.
|
"""Create a new fresh Z3 uninterpreted function with the given sorts.
|
||||||
|
|
||||||
>>> f = FreshFunction(IntSort(), IntSort())
|
|
||||||
>>> f(f(0))
|
|
||||||
f!0(f!0(0))
|
|
||||||
"""
|
"""
|
||||||
sig = _get_args(sig)
|
sig = _get_args(sig)
|
||||||
if z3_debug():
|
if z3_debug():
|
||||||
|
|
|
@ -126,7 +126,6 @@ bool macro_manager::insert(func_decl * f, quantifier * q, proof * pr, expr_depen
|
||||||
m_decl2macro_dep.insert(f, dep);
|
m_decl2macro_dep.insert(f, dep);
|
||||||
|
|
||||||
TRACE("macro_insert", tout << "A macro was successfully created for: " << f->get_name() << "\n";);
|
TRACE("macro_insert", tout << "A macro was successfully created for: " << f->get_name() << "\n";);
|
||||||
SASSERT(false);
|
|
||||||
|
|
||||||
// Nothing's forbidden anymore; if something's bad, we detected it earlier.
|
// Nothing's forbidden anymore; if something's bad, we detected it earlier.
|
||||||
// mark_forbidden(m->get_expr());
|
// mark_forbidden(m->get_expr());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue