From 7dceab0e7263d614dfaa5a80d18e97ffd6a1be29 Mon Sep 17 00:00:00 2001 From: Florian Zill <florian.zill@ufz.de> Date: Thu, 4 Jul 2019 16:59:09 +0200 Subject: [PATCH] Fix Convergence Output error_dx and global_component are swapped --- NumLib/ODESolver/ConvergenceCriterionPerComponentDeltaX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NumLib/ODESolver/ConvergenceCriterionPerComponentDeltaX.cpp b/NumLib/ODESolver/ConvergenceCriterionPerComponentDeltaX.cpp index 0a087016cf2..bd9bc3c3a18 100644 --- a/NumLib/ODESolver/ConvergenceCriterionPerComponentDeltaX.cpp +++ b/NumLib/ODESolver/ConvergenceCriterionPerComponentDeltaX.cpp @@ -61,7 +61,7 @@ void ConvergenceCriterionPerComponentDeltaX::checkDeltaX( INFO( "Convergence criterion, component %u: |dx|=%.4e, |x|=%.4e, " "|dx|/|x|=%.4e", - error_dx, global_component, norm_x, + global_component, error_dx, norm_x, (norm_x == 0. ? std::numeric_limits<double>::quiet_NaN() : (error_dx / norm_x))); -- GitLab