summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/instantiate.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-09-07 10:42:41 -0500
committerHaniel Barbosa <hanielbbarbosa@gmail.com>2018-09-07 10:42:41 -0500
commitb8baaa9730b2d4fa4d42587c3a1b701e77c6f78a (patch)
treea5f6957fce0723c9e22ae75bb17a4f1a96aae449 /src/theory/quantifiers/instantiate.cpp
parent44355002ddea45c8b1abd5b20437b7940c90e6fc (diff)
Make isClosedEnumerable a member of TypeNode (#2434)
Diffstat (limited to 'src/theory/quantifiers/instantiate.cpp')
-rw-r--r--src/theory/quantifiers/instantiate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/instantiate.cpp b/src/theory/quantifiers/instantiate.cpp
index eab05f454..24f418b0c 100644
--- a/src/theory/quantifiers/instantiate.cpp
+++ b/src/theory/quantifiers/instantiate.cpp
@@ -491,7 +491,7 @@ bool Instantiate::removeInstantiationInternal(Node q, std::vector<Node>& terms)
Node Instantiate::getTermForType(TypeNode tn)
{
- if (d_qe->getTermEnumeration()->isClosedEnumerableType(tn))
+ if (tn.isClosedEnumerable())
{
return d_qe->getTermEnumeration()->getEnumerateTerm(tn, 0);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback