diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-08-01 19:10:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-01 19:10:47 -0500 |
commit | 7b815181bfd58100478970f52b80461638fd42a8 (patch) | |
tree | 89d21d0ef97781eacb1a49c656db25d9946b031a /src/expr/expr_manager_template.cpp | |
parent | 113e7001e03ec7d1c2b79e0bb2cc9b762519bc22 (diff) |
Fix issues with printing parametric datatypes in smt2 (#2213)
Diffstat (limited to 'src/expr/expr_manager_template.cpp')
-rw-r--r-- | src/expr/expr_manager_template.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/expr/expr_manager_template.cpp b/src/expr/expr_manager_template.cpp index 457e54d9b..de128b3e5 100644 --- a/src/expr/expr_manager_template.cpp +++ b/src/expr/expr_manager_template.cpp @@ -831,10 +831,13 @@ SortType ExprManager::mkSort(const std::string& name, uint32_t flags) const { } SortConstructorType ExprManager::mkSortConstructor(const std::string& name, - size_t arity) const { + size_t arity, + uint32_t flags) const +{ NodeManagerScope nms(d_nodeManager); - return SortConstructorType(Type(d_nodeManager, - new TypeNode(d_nodeManager->mkSortConstructor(name, arity)))); + return SortConstructorType( + Type(d_nodeManager, + new TypeNode(d_nodeManager->mkSortConstructor(name, arity, flags)))); } /** |