summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2014-06-22 01:17:27 -0400
committerKshitij Bansal <kshitij@cs.nyu.edu>2014-06-22 17:37:25 -0400
commitb8ddf766460bfcf475e08ff52c889246e78f76cc (patch)
treeb631495d0801191c1e6b283854b5b30c11547fea /examples
parent44d05f7def63e5f675f80dab8829c5759db7e065 (diff)
Renaming of SMT2 operator names, kinds for set theory
* SET_SINGLETON kind renamed to just SINGLETON * "setenum" smt2 opertor renamed to "singleton"[1] * "in" smt2 operator renamed to "member"[2] [1] It was anyhow accepting exactly one argument, so was bit misleading to call set enumerator. [2] The corresponding kind was called MEMBER, so this will also make them consistent. Only inconsistency now is for subset: kind is called SUBSET but operator is called "subseteq".
Diffstat (limited to 'examples')
-rw-r--r--examples/sets-translate/sets_translate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sets-translate/sets_translate.cpp b/examples/sets-translate/sets_translate.cpp
index e23b7cec2..5257915b0 100644
--- a/examples/sets-translate/sets_translate.cpp
+++ b/examples/sets-translate/sets_translate.cpp
@@ -127,7 +127,7 @@ class Mapper {
<< " ( (x " << elementType << ") )"
<< " " << name << ""
<< " (store emptyset" << elementTypeAsString << " x true) )" << endl;
- setoperators[ make_pair(t, kind::SET_SINGLETON) ] =
+ setoperators[ make_pair(t, kind::SINGLETON) ] =
em->mkVar( std::string("setenum") + elementTypeAsString,
em->mkFunctionType( elementType, t ) );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback