summaryrefslogtreecommitdiff
path: root/src/theory/substitutions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/substitutions.h')
-rw-r--r--src/theory/substitutions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theory/substitutions.h b/src/theory/substitutions.h
index 958f50276..711ff9b72 100644
--- a/src/theory/substitutions.h
+++ b/src/theory/substitutions.h
@@ -107,6 +107,12 @@ public:
void addSubstitution(TNode x, TNode t, bool invalidateCache = true);
/**
+ * Returns true iff x is in the substitution map
+ */
+ bool hasSubstitution(TNode x)
+ { return d_substitutions.find(x) != d_substitutions.end(); }
+
+ /**
* Apply the substitutions to the node.
*/
Node apply(TNode t);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback