mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
parent
ceca9fbef0
commit
74890ca1c8
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ public:
|
||||||
virtual void execute(cmd_context & ctx) {
|
virtual void execute(cmd_context & ctx) {
|
||||||
if (!ctx.is_model_available())
|
if (!ctx.is_model_available())
|
||||||
throw cmd_exception("model is not available");
|
throw cmd_exception("model is not available");
|
||||||
|
if (!m_target)
|
||||||
|
throw cmd_exception("no arguments passed to eval");
|
||||||
model_ref md;
|
model_ref md;
|
||||||
unsigned index = m_params.get_uint("model_index", 0);
|
unsigned index = m_params.get_uint("model_index", 0);
|
||||||
check_sat_result * last_result = ctx.get_check_sat_result();
|
check_sat_result * last_result = ctx.get_check_sat_result();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue