Fix comparison of tol in simple.jl