Skip to content

Commit

Permalink
remove assert, remove brittle pydoc example
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Feb 17, 2020
1 parent b6ee0b1 commit 41ab578
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/api/python/z3/z3.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,10 +820,6 @@ def Function(name, *sig):

def FreshFunction(*sig):
"""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)
if z3_debug():
Expand Down
1 change: 0 additions & 1 deletion src/ast/macros/macro_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ bool macro_manager::insert(func_decl * f, quantifier * q, proof * pr, expr_depen
m_decl2macro_dep.insert(f, dep);

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.
// mark_forbidden(m->get_expr());
Expand Down

0 comments on commit 41ab578

Please # to comment.