3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-16 16:11:00 -07:00
parent dd3e574f81
commit 19f655c693
4 changed files with 27 additions and 9 deletions

View file

@ -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();
}