summaryrefslogtreecommitdiff
path: root/src/theory/fp/theory_fp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/fp/theory_fp.h')
-rw-r--r--src/theory/fp/theory_fp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/theory/fp/theory_fp.h b/src/theory/fp/theory_fp.h
index 802a70435..ae4a2a1cb 100644
--- a/src/theory/fp/theory_fp.h
+++ b/src/theory/fp/theory_fp.h
@@ -25,6 +25,7 @@
#include "context/cdo.h"
#include "theory/fp/fp_converter.h"
+#include "theory/fp/theory_fp_rewriter.h"
#include "theory/theory.h"
#include "theory/uf/equality_engine.h"
@@ -38,7 +39,7 @@ class TheoryFp : public Theory {
TheoryFp(context::Context* c, context::UserContext* u, OutputChannel& out,
Valuation valuation, const LogicInfo& logicInfo);
- std::unique_ptr<TheoryRewriter> mkTheoryRewriter() override;
+ TheoryRewriter* getTheoryRewriter() override { return &d_rewriter; }
Node expandDefinition(LogicRequest& lr, Node node) override;
@@ -144,6 +145,8 @@ class TheoryFp : public Theory {
bool refineAbstraction(TheoryModel* m, TNode abstract, TNode concrete);
+ /** The theory rewriter for this theory. */
+ TheoryFpRewriter d_rewriter;
}; /* class TheoryFp */
} // namespace fp
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback