summaryrefslogtreecommitdiff
path: root/src/expr/expr_manager_template.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-09-12 13:43:02 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2016-09-12 13:43:02 -0500
commit442c809911bcc45ae45dc97650146c459a841ea3 (patch)
tree1a08cc6448314cc494d63414d8b47713afa5ebf0 /src/expr/expr_manager_template.cpp
parent14fb8fac59e368a36e936a2d0497745eda72c637 (diff)
Ensure sep.nil is unique per type at NodeManager level. Add simple symmetry breaking in theory sep.
Diffstat (limited to 'src/expr/expr_manager_template.cpp')
-rw-r--r--src/expr/expr_manager_template.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/expr/expr_manager_template.cpp b/src/expr/expr_manager_template.cpp
index 2dc3aebe5..aa5634e7a 100644
--- a/src/expr/expr_manager_template.cpp
+++ b/src/expr/expr_manager_template.cpp
@@ -943,7 +943,9 @@ Expr ExprManager::mkBoundVar(Type type) {
Expr ExprManager::mkSepNil(Type type) {
NodeManagerScope nms(d_nodeManager);
- return Expr(this, d_nodeManager->mkSepNilPtr(*type.d_typeNode));
+ Node n = d_nodeManager->mkSepNil(*type.d_typeNode);
+ return n.toExpr();
+ //return Expr(this, d_nodeManager->mkSepNilPtr(*type.d_typeNode));
}
Expr ExprManager::mkAssociative(Kind kind,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback