mirror of
https://github.com/Z3Prover/z3
synced 2025-06-02 20:31:21 +00:00
fix build break: throw only on invalid model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a59ed0fc2f
commit
b56837e09b
1 changed files with 3 additions and 1 deletions
|
@ -1658,7 +1658,9 @@ void cmd_context::validate_model() {
|
||||||
invalid_model = true;
|
invalid_model = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw cmd_exception("an invalid model was generated");
|
if (invalid_model) {
|
||||||
|
throw cmd_exception("an invalid model was generated");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue