Skip to content

Commit f524938

Browse files
authored
Merge pull request #106 from shreyas02/richardson_bugfix
Minor update to RichardsonLinearSolver
2 parents e71d9f4 + ee0d9fd commit f524938

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## Unreleased
9+
10+
### Fixed
11+
12+
- Updated `RichardsonLinearSolver` to also accept the relaxation parameter as an `AbstractVector{Float64}` (in addition to a scalar `Float64`). Since PR[#106](https://github.com/gridap/GridapSolvers.jl/pull/106/files).
13+
814
## [0.7.0] - 2026-03-10
915

1016
### Breaking

src/LinearSolvers/RichardsonLinearSolvers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
Richardson Iteration, with an optional left preconditioners `Pl`.
99
1010
The relaxation parameter (ω) can either be of type Float64 or Vector{Float64}.
11-
This gives flexiblity in relaxation.
11+
This gives flexibility in relaxation.
1212
"""
1313
struct RichardsonLinearSolver<:Gridap.Algebra.LinearSolver
14-
ω::Union{Vector{Float64},Float64}
14+
ω::Union{AbstractVector{Float64},Float64}
1515
Pl::Union{Gridap.Algebra.LinearSolver,Nothing}
1616
log::ConvergenceLog{Float64}
1717
end

0 commit comments

Comments
 (0)