summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/single_inv_partition.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-01-22 15:27:46 -0600
committerGitHub <noreply@github.com>2020-01-22 15:27:46 -0600
commitac0bbd54de6e2b95514400c8f502aea95e5346c4 (patch)
tree2219bb9cfbc2e5776a0ee50485099c2f55725be3 /src/theory/quantifiers/single_inv_partition.cpp
parent2c12b0b23f0d3e745e679d76d18ede9d8bbf6d3a (diff)
Fix single invocation partition for non-function non-atomic types (#3642)
Diffstat (limited to 'src/theory/quantifiers/single_inv_partition.cpp')
-rw-r--r--src/theory/quantifiers/single_inv_partition.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/quantifiers/single_inv_partition.cpp b/src/theory/quantifiers/single_inv_partition.cpp
index c713ec1dd..6c7a06ebe 100644
--- a/src/theory/quantifiers/single_inv_partition.cpp
+++ b/src/theory/quantifiers/single_inv_partition.cpp
@@ -513,8 +513,8 @@ bool SingleInvocationPartition::isAntiSkolemizableType(Node f)
{
TypeNode tn = f.getType();
bool ret = false;
- if (tn.getNumChildren() == d_arg_types.size() + 1
- || (d_arg_types.empty() && tn.getNumChildren() == 0))
+ if (((tn.isFunction() && tn.getNumChildren() == d_arg_types.size() + 1)
+ || (d_arg_types.empty() && tn.getNumChildren() == 0)))
{
ret = true;
std::vector<Node> children;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback