I have the following code
s = SolverFor("QF_LIA")
s.set("timeout", 1000)
#added when edited
s.check()
But I'm getting this error:
s.set("timeout", 1000)
line 6438, in set
Z3_solver_set_params(self.ctx.ref(), self.solver, p.params)
line 3654, in Z3_solver_set_params_elems.Check(a0)
line 1378, in Check
raise self.Exception(self.get_error_message(ctx, err))
What am I doing wrong here? thx for the help!
EDIT
I added s.check (), could you check if you get a error with this line of code.