From 5784e39c20a2c8cf0c29b5ef6fa35d0358d65874 Mon Sep 17 00:00:00 2001 From: pelesh Date: Thu, 15 Feb 2024 15:24:03 -0500 Subject: [PATCH] Update resolve/LinSolverIterativeRandFGMRES.cpp Co-authored-by: kswirydo --- resolve/LinSolverIterativeRandFGMRES.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolve/LinSolverIterativeRandFGMRES.cpp b/resolve/LinSolverIterativeRandFGMRES.cpp index 0bf0daf9..513dde77 100644 --- a/resolve/LinSolverIterativeRandFGMRES.cpp +++ b/resolve/LinSolverIterativeRandFGMRES.cpp @@ -111,7 +111,7 @@ namespace ReSolve //set k and n break; case fwht: - if ( ceil(2.0 * restart_ * log(n_) / log(restart_)) < k_rand_) { + if (ceil(2.0 * restart_ * log(n_) / log(restart_)) < k_rand_) { k_rand_ = static_cast(std::ceil(2.0 * restart_ * std::log(n_) / std::log(restart_))); } rand_manager_ = new RandSketchingFWHT(memspace_);