summaryrefslogtreecommitdiff
path: root/src/theory/arith/arith_rewriter.cpp
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2021-03-31 15:23:17 -0700
committerGitHub <noreply@github.com>2021-03-31 22:23:17 +0000
commita1466978fbc328507406d4a121dab4d1a1047e1d (patch)
tree12b40f161bb4d7a6ee40c20c78a15d6cda3c1995 /src/theory/arith/arith_rewriter.cpp
parentf9a9af855fb65804ff0b36e764ccd9d0fa9f87f8 (diff)
Rename namespace CVC4 to CVC5. (#6249)
Diffstat (limited to 'src/theory/arith/arith_rewriter.cpp')
-rw-r--r--src/theory/arith/arith_rewriter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/theory/arith/arith_rewriter.cpp b/src/theory/arith/arith_rewriter.cpp
index 2de8cf66b..01e88b1a8 100644
--- a/src/theory/arith/arith_rewriter.cpp
+++ b/src/theory/arith/arith_rewriter.cpp
@@ -28,7 +28,7 @@
#include "theory/theory.h"
#include "util/iand.h"
-namespace CVC4 {
+namespace CVC5 {
namespace theory {
namespace arith {
@@ -228,7 +228,7 @@ RewriteResponse ArithRewriter::postRewriteTerm(TNode t){
if(exp.sgn() == 0){
return RewriteResponse(REWRITE_DONE, mkRationalNode(Rational(1)));
}else if(exp.sgn() > 0 && exp.isIntegral()){
- CVC4::Rational r(expr::NodeValue::MAX_CHILDREN);
+ CVC5::Rational r(expr::NodeValue::MAX_CHILDREN);
if (exp <= r)
{
unsigned num = exp.getNumerator().toUnsignedInt();
@@ -899,6 +899,6 @@ RewriteResponse ArithRewriter::returnRewrite(TNode t, Node ret, Rewrite r)
return RewriteResponse(REWRITE_AGAIN_FULL, ret);
}
-}/* CVC4::theory::arith namespace */
-}/* CVC4::theory namespace */
-}/* CVC4 namespace */
+} // namespace arith
+} // namespace theory
+} // namespace CVC5
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback