mirror of
https://github.com/Z3Prover/z3
synced 2025-06-05 21:53:23 +00:00
Disabled superfluous wellformedness check and fixed type checking in basic_decl_plugin::join
This commit is contained in:
parent
d94e12104d
commit
bea8744f7d
2 changed files with 7 additions and 3 deletions
|
@ -1023,9 +1023,13 @@ sort* basic_decl_plugin::join(sort* s1, sort* s2) {
|
||||||
if (s1->get_decl_kind() == REAL_SORT) {
|
if (s1->get_decl_kind() == REAL_SORT) {
|
||||||
return s1;
|
return s1;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return s2;
|
return s2;
|
||||||
}
|
}
|
||||||
|
std::ostringstream buffer;
|
||||||
|
buffer << "Sorts " << mk_pp(s1, *m_manager) << " and " << mk_pp(s2, *m_manager) << " are incompatible";
|
||||||
|
throw ast_exception(buffer.str().c_str());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
func_decl * basic_decl_plugin::mk_func_decl(decl_kind k, unsigned num_parameters, parameter const * parameters,
|
func_decl * basic_decl_plugin::mk_func_decl(decl_kind k, unsigned num_parameters, parameter const * parameters,
|
||||||
unsigned arity, sort * const * domain, sort * range) {
|
unsigned arity, sort * const * domain, sort * range) {
|
||||||
|
|
|
@ -33,7 +33,7 @@ context_params::context_params() {
|
||||||
m_trace = false;
|
m_trace = false;
|
||||||
m_debug_ref_count = false;
|
m_debug_ref_count = false;
|
||||||
m_smtlib2_compliant = false;
|
m_smtlib2_compliant = false;
|
||||||
m_well_sorted_check = true;
|
m_well_sorted_check = false;
|
||||||
m_timeout = UINT_MAX;
|
m_timeout = UINT_MAX;
|
||||||
updt_params();
|
updt_params();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue