summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2017-04-14 16:34:59 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2017-04-14 16:34:59 -0500
commit9d7766ed1e41da53d59ad16e9ef8be8f522226df (patch)
treea0b20c6b013c2a7731c080abee6793cd91b30b1d /src/theory
parent8748256b518f5ad4b1cefe46d9445b562199871c (diff)
Fix nullary operator printers, minor.
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/sep/theory_sep_type_rules.h2
-rw-r--r--src/theory/sets/theory_sets_type_rules.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/sep/theory_sep_type_rules.h b/src/theory/sep/theory_sep_type_rules.h
index 25166ca8e..0eae782c8 100644
--- a/src/theory/sep/theory_sep_type_rules.h
+++ b/src/theory/sep/theory_sep_type_rules.h
@@ -104,7 +104,7 @@ struct SepNilTypeRule {
throw (TypeCheckingExceptionPrivate, AssertionException) {
Assert(n.getKind() == kind::SEP_NIL);
Assert(check);
- TypeNode type = n.getType(false);
+ TypeNode type = n.getType();
return type;
}
};/* struct SepLabelTypeRule */
diff --git a/src/theory/sets/theory_sets_type_rules.h b/src/theory/sets/theory_sets_type_rules.h
index 541835980..25ca63c28 100644
--- a/src/theory/sets/theory_sets_type_rules.h
+++ b/src/theory/sets/theory_sets_type_rules.h
@@ -180,7 +180,7 @@ struct UniverseSetTypeRule {
Assert(n.getKind() == kind::UNIVERSE_SET);
// for nullary operators, we only computeType for check=true, since they are given TypeAttr() on creation
Assert(check);
- TypeNode setType = n.getType(false);
+ TypeNode setType = n.getType();
if(!setType.isSet()) {
throw TypeCheckingExceptionPrivate(n, "COMPLEMENT operates on a set, non-set object found");
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback