mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
parent
dd3e574f81
commit
19f655c693
4 changed files with 27 additions and 9 deletions
|
@ -1239,7 +1239,7 @@ namespace datatype {
|
|||
}
|
||||
|
||||
unsigned util::get_datatype_num_constructors(sort * ty) {
|
||||
if (!is_declared(ty)) return 0;
|
||||
if (!is_declared(ty)) return 0;
|
||||
def const& d = get_def(ty->get_name());
|
||||
return d.constructors().size();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue