mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
fix crash exposed by examples/dotnet/Program.cs
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3ba2aa2672
commit
c802a0ac96
2 changed files with 3 additions and 2 deletions
|
@ -312,7 +312,8 @@ void model::collect_occs(top_sort& ts, func_decl* f) {
|
|||
func_interp* fi = get_func_interp(f);
|
||||
if (fi) {
|
||||
e = fi->get_else();
|
||||
collect_occs(ts, e);
|
||||
if (e != nullptr)
|
||||
collect_occs(ts, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue