BUG: fix convergence check in OMP