diff options
author | Gereon Kremer <gereon.kremer@cs.rwth-aachen.de> | 2021-03-04 20:36:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 19:36:02 +0000 |
commit | 452efb4bfe87f1628185c8b5c40acf4533c93c46 (patch) | |
tree | 25f556eaadc47836ec799aedb60af5e898937729 /src/theory/arith/nl/poly_conversion.h | |
parent | b0ab269c2039051a16212d5c9e7276c5f5c20b1d (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.h | 3 |
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 { |