From 0f2f2d26bfcad56cd3a1b5c6853880fbb7cb0f63 Mon Sep 17 00:00:00 2001 From: thorek1 Date: Thu, 7 Nov 2024 00:07:05 +0000 Subject: [PATCH] fix solved in sylvester --- src/algorithms/sylvester.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algorithms/sylvester.jl b/src/algorithms/sylvester.jl index 59b3e9b0..e30723f3 100644 --- a/src/algorithms/sylvester.jl +++ b/src/algorithms/sylvester.jl @@ -81,7 +81,7 @@ function solve_sylvester_equation(A::M, timer = timer) if verbose && i != 0 - println("Sylvester equation - converged to tol $tol: $solved; iterations: $i; reached tol: $reached_tol; algorithm: sylvester") + println("Sylvester equation - converged to tol $tol: $(reached_tol < tol); iterations: $i; reached tol: $reached_tol; algorithm: sylvester") end end @@ -140,7 +140,7 @@ function solve_sylvester_equation(A::M, end if verbose# && i != 0 - println("Sylvester equation - converged to tol $tol: $solved; iterations: $i; reached tol: $Reached_tol; algorithm: dqgmres (refinement of previous solution)") + println("Sylvester equation - converged to tol $tol: $(reached_tol < tol); iterations: $i; reached tol: $Reached_tol; algorithm: dqgmres (refinement of previous solution)") end end