diff options
-rw-r--r-- | mg2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -548,7 +548,7 @@ int mg2d_solve(MG2DContext *ctx) mg2di_log(&priv->logger, MG2D_LOG_VERBOSE, "finished toplevel iteration %d, residual %g -> %g (%g)\n", i, res_prev, res_cur, res_prev / res_cur); - if (res_cur / res_prev > 1.0) { + if (res_cur / res_prev > 1e1) { mg2di_log(&priv->logger, MG2D_LOG_ERROR, "A multigrid iteration diverged\n"); ret = MG2D_ERR_DIVERGE; goto fail; |