mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 10:50:24 +00:00
fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
24a9ca3226
commit
9dd8ebb474
3 changed files with 23 additions and 21 deletions
|
@ -27,13 +27,14 @@ class arith_rewriter_core {
|
|||
protected:
|
||||
typedef rational numeral;
|
||||
arith_util m_util;
|
||||
seq_util m_seq;
|
||||
scoped_ptr<seq_util> m_seq;
|
||||
bool m_expand_power;
|
||||
bool m_mul2power;
|
||||
bool m_expand_tan;
|
||||
|
||||
ast_manager & m() const { return m_util.get_manager(); }
|
||||
family_id get_fid() const { return m_util.get_family_id(); }
|
||||
seq_util& seq();
|
||||
|
||||
bool is_numeral(expr * n) const { return m_util.is_numeral(n); }
|
||||
bool is_numeral(expr * n, numeral & r) const { return m_util.is_numeral(n, r); }
|
||||
|
@ -45,7 +46,7 @@ protected:
|
|||
bool use_power() const { return m_mul2power && !m_expand_power; }
|
||||
decl_kind power_decl_kind() const { return OP_POWER; }
|
||||
public:
|
||||
arith_rewriter_core(ast_manager & m):m_util(m), m_seq(m) {}
|
||||
arith_rewriter_core(ast_manager & m):m_util(m) {}
|
||||
bool is_zero(expr * n) const { return m_util.is_zero(n); }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue