summaryrefslogtreecommitdiff
path: root/src/theory/arith/nl/poly_conversion.h
diff options
context:
space:
mode:
authorGereon Kremer <gereon.kremer@cs.rwth-aachen.de>2021-03-04 20:36:02 +0100
committerGitHub <noreply@github.com>2021-03-04 19:36:02 +0000
commit452efb4bfe87f1628185c8b5c40acf4533c93c46 (patch)
tree25f556eaadc47836ec799aedb60af5e898937729 /src/theory/arith/nl/poly_conversion.h
parentb0ab269c2039051a16212d5c9e7276c5f5c20b1d (diff)
Add proper define for libpoly usage (#6050)
When adding libpoly, we forgot to add a proper define to cvc4autoconfig and included real_algebraic_number.h everywhere to get this define. This PR introduces the CVC4_POLY_IMP define and removes all obsolete includes to real_algebraic_number.h.
Diffstat (limited to 'src/theory/arith/nl/poly_conversion.h')
-rw-r--r--src/theory/arith/nl/poly_conversion.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/arith/nl/poly_conversion.h b/src/theory/arith/nl/poly_conversion.h
index 102d2d6ae..94ed5e318 100644
--- a/src/theory/arith/nl/poly_conversion.h
+++ b/src/theory/arith/nl/poly_conversion.h
@@ -17,7 +17,7 @@
#ifndef CVC4__THEORY__ARITH__NL__POLY_CONVERSION_H
#define CVC4__THEORY__ARITH__NL__POLY_CONVERSION_H
-#include "util/real_algebraic_number.h"
+#include "cvc4_private.h"
#ifdef CVC4_POLY_IMP
@@ -28,6 +28,7 @@
#include <utility>
#include "expr/node.h"
+#include "util/real_algebraic_number.h"
namespace CVC4 {
namespace theory {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback