mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
remove assert
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
779183da06
commit
c73a87c19c
|
@ -259,7 +259,6 @@ func_decl* array_decl_plugin::mk_select(unsigned arity, sort * const * domain) {
|
||||||
std::stringstream strm;
|
std::stringstream strm;
|
||||||
strm << "domain sort " << sort_ref(domain[i+1], *m_manager) << " and parameter ";
|
strm << "domain sort " << sort_ref(domain[i+1], *m_manager) << " and parameter ";
|
||||||
strm << parameter_pp(parameters[i], *m_manager) << " do not match";
|
strm << parameter_pp(parameters[i], *m_manager) << " do not match";
|
||||||
SASSERT(false);
|
|
||||||
m_manager->raise_exception(strm.str());
|
m_manager->raise_exception(strm.str());
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
@ -303,7 +302,6 @@ func_decl * array_decl_plugin::mk_store(unsigned arity, sort * const * domain) {
|
||||||
if (!m_manager->compatible_sorts(srt1, srt2)) {
|
if (!m_manager->compatible_sorts(srt1, srt2)) {
|
||||||
std::stringstream strm;
|
std::stringstream strm;
|
||||||
strm << "domain sort " << sort_ref(srt2, *m_manager) << " and parameter sort " << sort_ref(srt1, *m_manager) << " do not match";
|
strm << "domain sort " << sort_ref(srt2, *m_manager) << " and parameter sort " << sort_ref(srt1, *m_manager) << " do not match";
|
||||||
SASSERT(false);
|
|
||||||
m_manager->raise_exception(strm.str());
|
m_manager->raise_exception(strm.str());
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
Loading…
Reference in a new issue