summaryrefslogtreecommitdiff
path: root/src/theory/mktheorytraits
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-01-15 23:57:56 +0100
committerajreynol <andrew.j.reynolds@gmail.com>2016-01-15 23:57:56 +0100
commit9d677333439c15677b6891ee8f6bd368a5df9f0a (patch)
tree07768d701e98e3ec39b4a37fa40681e61658eb97 /src/theory/mktheorytraits
parent081351e87edeb52facba0d0abc2e933433480444 (diff)
Type enumerators take optional argument indicating fixed cardinalities of uninterpreted sorts. Modify TheoryModelBuilder. Fix bug in fmf-empty-sorts.
Diffstat (limited to 'src/theory/mktheorytraits')
-rwxr-xr-xsrc/theory/mktheorytraits4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/mktheorytraits b/src/theory/mktheorytraits
index d6725997d..b6162ec38 100755
--- a/src/theory/mktheorytraits
+++ b/src/theory/mktheorytraits
@@ -234,14 +234,14 @@ function enumerator {
#line $lineno \"$kf\"
case $1:
#line $lineno \"$kf\"
- return new $2(type);
+ return new $2(type, tep);
"
elif expr "$type_kinds" : '.* '"$1"' ' &>/dev/null; then
mk_type_enumerator_cases="${mk_type_enumerator_cases}
#line $lineno \"$kf\"
case kind::$1:
#line $lineno \"$kf\"
- return new $2(type);
+ return new $2(type, tep);
"
else
echo "$kf:$lineno: error: don't know anything about $1; enumerator must appear after definition" >&2
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback