BUG: old import in data.check_convergence