mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
remove throw in reason-unknown #1043
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f80a622a8f
commit
d95ac58bad
|
@ -638,7 +638,7 @@ bool cmd_context::set_logic(symbol const & s) {
|
||||||
|
|
||||||
std::string cmd_context::reason_unknown() const {
|
std::string cmd_context::reason_unknown() const {
|
||||||
if (m_check_sat_result.get() == 0)
|
if (m_check_sat_result.get() == 0)
|
||||||
throw cmd_exception("state of the most recent check-sat command is not known");
|
return "state of the most recent check-sat command is not known";
|
||||||
return m_check_sat_result->reason_unknown();
|
return m_check_sat_result->reason_unknown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue