From 68af1bba67dd62881ead5ab1e54962a5486a0791 Mon Sep 17 00:00:00 2001 From: Patrick R Oare Date: Fri, 31 Oct 2025 11:47:29 -0400 Subject: [PATCH] commented some slow code out --- Grid/algorithms/iterative/KrylovSchur.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Grid/algorithms/iterative/KrylovSchur.h b/Grid/algorithms/iterative/KrylovSchur.h index 7a6ad665..337eba63 100644 --- a/Grid/algorithms/iterative/KrylovSchur.h +++ b/Grid/algorithms/iterative/KrylovSchur.h @@ -646,7 +646,7 @@ class KrylovSchur { // rotate basis by Rayleigh to construct UR // std::vector rotated; - std::cout << GridLogDebug << "Rayleigh in KSDecomposition: " << std::endl << Rayleigh << std::endl; + // std::cout << GridLogDebug << "Rayleigh in KSDecomposition: " << std::endl << Rayleigh << std::endl; std::vector rotated = basis; constructUR(rotated, basis, Rayleigh, k); // manually rotate @@ -665,10 +665,10 @@ class KrylovSchur { delta = delta / norm2(tmp); // relative tolerance deltaSum += delta; - std::cout << GridLogDebug << "Iteration " << i << std::endl; - std::cout << GridLogDebug << "Du = " << norm2(tmp) << std::endl; - std::cout << GridLogDebug << "rotated = " << norm2(rotated[i]) << std::endl; - std::cout << GridLogDebug << "b[i] = " << b(i) << std::endl; + // std::cout << GridLogDebug << "Iteration " << i << std::endl; + // std::cout << GridLogDebug << "Du = " << norm2(tmp) << std::endl; + // std::cout << GridLogDebug << "rotated = " << norm2(rotated[i]) << std::endl; + // std::cout << GridLogDebug << "b[i] = " << b(i) << std::endl; std::cout << GridLogMessage << "Deviation in decomp, column " << i << ": " << delta << std::endl; } std::cout << GridLogMessage << "Squared sum of relative deviations in decomposition: " << deltaSum << std::endl;