summaryrefslogtreecommitdiff
path: root/src/theory/sets
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/sets')
-rw-r--r--src/theory/sets/rels_utils.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/sets/rels_utils.h b/src/theory/sets/rels_utils.h
index 5f4c7d79d..d179c447e 100644
--- a/src/theory/sets/rels_utils.h
+++ b/src/theory/sets/rels_utils.h
@@ -66,8 +66,9 @@ public:
if( tuple.getKind() == kind::APPLY_CONSTRUCTOR ) {
return tuple[n_th];
}
- Datatype dt = tuple.getType().getDatatype();
- return NodeManager::currentNM()->mkNode(kind::APPLY_SELECTOR_TOTAL, dt[0][n_th].getSelector(), tuple);
+ TypeNode tn = tuple.getType();
+ Datatype dt = tn.getDatatype();
+ return NodeManager::currentNM()->mkNode(kind::APPLY_SELECTOR_TOTAL, dt[0].getSelectorInternal( tn.toType(), n_th ), tuple);
}
static Node reverseTuple( Node tuple ) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback