3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-19 12:23:38 +00:00
This commit is contained in:
Nikolaj Bjorner 2016-11-04 15:19:19 +00:00
commit e700460645
3 changed files with 55 additions and 51 deletions

View file

@ -82,7 +82,7 @@ Z3PY_SRC_DIR=None
VS_PROJ = False
TRACE = False
DOTNET_ENABLED=False
DOTNET_KEY_FILE=None
DOTNET_KEY_FILE=getenv("Z3_DOTNET_KEY_FILE", None)
JAVA_ENABLED=False
ML_ENABLED=False
PYTHON_INSTALL_ENABLED=False
@ -1591,7 +1591,7 @@ class DotNetDLLComponent(Component):
elif os.path.isfile(os.path.join(self.src_dir, self.key_file)):
self.key_file = os.path.abspath(os.path.join(self.src_dir, self.key_file))
else:
print("Keyfile '%s' could not be found; %s.dll will be unsigned." % (self.dll_name, self.key_file))
print("Keyfile '%s' could not be found; %s.dll will be unsigned." % (self.key_file, self.dll_name))
self.key_file = None
if not self.key_file is None:

View file

@ -594,6 +594,7 @@ br_status bool_rewriter::try_ite_value(app * ite, app * val, expr_ref & result)
}
return BR_DONE;
}
if (m_ite_extra_rules) {
if (m().is_value(t)) {
if (val == t) {
result = m().mk_or(cond, m().mk_eq(val, e));
@ -614,6 +615,7 @@ br_status bool_rewriter::try_ite_value(app * ite, app * val, expr_ref & result)
}
return BR_REWRITE2;
}
}
expr* cond2, *t2, *e2;
if (m().is_ite(t, cond2, t2, e2) && m().is_value(t2) && m().is_value(e2)) {
try_ite_value(to_app(t), val, result);

View file

@ -538,6 +538,8 @@ struct ctx_simplify_tactic::imp {
}
pop(scope_level() - old_lvl);
m_occs(g);
// go backwards
sz = g.size();
for (unsigned i = sz; !g.inconsistent() && i > 0; ) {