Solve_rat_ineq gives bad answers for inequalities like x^2+x>0, x^2+x<=0, x^2-x<=0, x^2-x>0
The problem of the boundary of the leftmost (rightmost) interval is x=0, then the agoritms tests this point instead a point from inside of the interval. It seems that the change suggested in the attachment solves this probleem and does not introduce any new problem.
Thanks for fixing.
Log in to post a comment.