Skip to content

Commit

Permalink
Update resolve/LinSolverIterativeRandFGMRES.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: kswirydo <[email protected]>
  • Loading branch information
pelesh and kswirydo authored Feb 15, 2024
1 parent 63e3ec5 commit 5784e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolve/LinSolverIterativeRandFGMRES.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<index_type>(std::ceil(2.0 * restart_ * std::log(n_) / std::log(restart_)));
}
rand_manager_ = new RandSketchingFWHT(memspace_);
Expand Down

0 comments on commit 5784e39

Please sign in to comment.