api: Fix Sort::getDatatypeArity() for non-parametric datatypes. (#7766)
authorAina Niemetz <aina.niemetz@gmail.com>
Wed, 8 Dec 2021 03:22:04 +0000 (19:22 -0800)
committerGitHub <noreply@github.com>
Wed, 8 Dec 2021 03:22:04 +0000 (03:22 +0000)
commitfd127d90b9cf4c769c1fe1a9b16b811847a0eed9
tree13c841ab9ecbdb9d2ad8e951cccf5f2992cf34be
parentc02de2447c0eb52a60aa32c9a4c97c530f529c13
api: Fix Sort::getDatatypeArity() for non-parametric datatypes. (#7766)

Fixes cvc5/cvc5-projects#380
src/api/cpp/cvc5.cpp
test/unit/api/cpp/solver_black.cpp