Fixed syntax error on _check_tol().