From 1b89c8628eee3d081e91bf99745a16a21c40bf8a Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Wed, 1 Aug 2018 23:24:53 -0500 Subject: [PATCH] Fix API call for reg exp. (#2248) --- src/expr/expr_manager_template.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expr/expr_manager_template.cpp b/src/expr/expr_manager_template.cpp index de128b3e5..425f78555 100644 --- a/src/expr/expr_manager_template.cpp +++ b/src/expr/expr_manager_template.cpp @@ -146,7 +146,7 @@ StringType ExprManager::stringType() const { RegExpType ExprManager::regExpType() const { NodeManagerScope nms(d_nodeManager); - return StringType(Type(d_nodeManager, new TypeNode(d_nodeManager->regExpType()))); + return RegExpType(Type(d_nodeManager, new TypeNode(d_nodeManager->regExpType()))); } RealType ExprManager::realType() const { -- 2.30.2