diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-09-12 13:43:02 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-09-12 13:43:02 -0500 |
commit | 442c809911bcc45ae45dc97650146c459a841ea3 (patch) | |
tree | 1a08cc6448314cc494d63414d8b47713afa5ebf0 /src/expr/expr_manager_template.cpp | |
parent | 14fb8fac59e368a36e936a2d0497745eda72c637 (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.cpp | 4 |
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, |