From: Andrew Reynolds Date: Thu, 2 Aug 2018 04:24:53 +0000 (-0500) Subject: Fix API call for reg exp. (#2248) X-Git-Tag: cvc5-1.0.0~4830 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b89c8628eee3d081e91bf99745a16a21c40bf8a;p=cvc5.git Fix API call for reg exp. (#2248) --- 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 {