mirror of
https://github.com/Z3Prover/z3
synced 2025-06-22 05:43:39 +00:00
Fixed model-converter segfault in ::check_sat. Relates to #881
This commit is contained in:
parent
54280b6cc5
commit
e4411265ea
1 changed files with 2 additions and 1 deletions
|
@ -220,6 +220,7 @@ lbool check_sat(tactic & t, goal_ref & g, model_ref & md, labels_vec & labels, p
|
||||||
else {
|
else {
|
||||||
if (models_enabled) {
|
if (models_enabled) {
|
||||||
model_converter2model(m, mc.get(), md);
|
model_converter2model(m, mc.get(), md);
|
||||||
|
if (mc)
|
||||||
(*mc)(labels, 0);
|
(*mc)(labels, 0);
|
||||||
}
|
}
|
||||||
reason_unknown = "incomplete";
|
reason_unknown = "incomplete";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue