mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 21:37:02 +00:00
Use nullptr.
This commit is contained in:
parent
808d2eb60f
commit
cdfc19a885
44 changed files with 98 additions and 98 deletions
|
@ -2608,7 +2608,7 @@ namespace smt2 {
|
|||
|
||||
check_rparen("invalid get-value command, ')' expected");
|
||||
model_ref md;
|
||||
if (!m_ctx.is_model_available(md) || m_ctx.get_check_sat_result() == 0)
|
||||
if (!m_ctx.is_model_available(md) || m_ctx.get_check_sat_result() == nullptr)
|
||||
throw cmd_exception("model is not available");
|
||||
if (index != 0) {
|
||||
m_ctx.get_opt()->get_box_model(md, index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue