File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -323,12 +323,12 @@ class set_initial_value_cmd : public cmd {
323
323
public:
324
324
set_initial_value_cmd (): cmd(" set-initial-value" ) {}
325
325
char const * get_usage () const override { return " <var> <value>" ; }
326
- char const * get_descr (cmd_context& ctx) const { return " set an initial value for search as a hint to the solver" ; }
327
- unsigned get_arity () const { return 2 ; }
328
- void prepare (cmd_context& ctx) { m_var = m_value = nullptr ; }
329
- cmd_arg_kind next_arg_kind (cmd_context& ctx) const { return CPK_EXPR; }
330
- void set_next_arg (cmd_context& ctx, expr* e) { if (m_var) m_value = e; else m_var = e; }
331
- void execute (cmd_context& ctx) {
326
+ char const * get_descr (cmd_context& ctx) const override { return " set an initial value for search as a hint to the solver" ; }
327
+ unsigned get_arity () const override { return 2 ; }
328
+ void prepare (cmd_context& ctx) override { m_var = m_value = nullptr ; }
329
+ cmd_arg_kind next_arg_kind (cmd_context& ctx) const override { return CPK_EXPR; }
330
+ void set_next_arg (cmd_context& ctx, expr* e) override { if (m_var) m_value = e; else m_var = e; }
331
+ void execute (cmd_context& ctx) override {
332
332
SASSERT (m_var && m_value);
333
333
if (ctx.get_opt ())
334
334
ctx.get_opt ()->initialize_value (m_var, m_value);
You can’t perform that action at this time.
0 commit comments