diff options
Diffstat (limited to 'src/theory/uf/equality_engine.h')
-rw-r--r-- | src/theory/uf/equality_engine.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theory/uf/equality_engine.h b/src/theory/uf/equality_engine.h index 5ff8ee4dc..f40c79df3 100644 --- a/src/theory/uf/equality_engine.h +++ b/src/theory/uf/equality_engine.h @@ -345,6 +345,13 @@ private: std::vector<bool> d_isConstant; /** + * Returns true if it's a constant + */ + bool isConstant(EqualityNodeId id) const { + return d_isConstant[getEqualityNode(id).getFind()]; + } + + /** * Map from ids to wheather they are Boolean. */ std::vector<bool> d_isBoolean; |