3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-09 18:40:51 +00:00

constructor

This commit is contained in:
Nuno Lopes 2026-02-08 11:56:00 +00:00
parent 2f4abe2ce6
commit 6ed5b6d667

View file

@ -126,11 +126,11 @@ private:
rational*, // for PARAM_RATIONAL
double, // for PARAM_DOUBLE (remark: this is not used in float_decl_plugin)
unsigned // for PARAM_EXTERNAL
> m_val;
> m_val = 0;
public:
parameter() : m_val(0) {}
parameter() noexcept = default;
explicit parameter(int val): m_val(val) {}
explicit parameter(unsigned val): m_val((int)val) {}
explicit parameter(ast * p): m_val(p) {}