Skip to content

Commit 04005d5

Browse files
minor fix
1 parent 53ddeb7 commit 04005d5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/multilevel.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,12 @@ end
287287
abstract type AMGAlg end
288288

289289
struct RugeStubenAMG <: AMGAlg end
290+
291+
"""
292+
"""
290293
struct SmoothedAggregationAMG <: AMGAlg
291-
B::Union{<:AbstractMatrix,Nothing}
292-
function SmoothedAggregationAMG(B::Union{AbstractMatrix,Nothing}=nothing)
294+
B::Union{<:AbstractArray,Nothing} # `B` can be `Vector`, `Matrix`, or `nothing`
295+
function SmoothedAggregationAMG(B::Union{AbstractArray,Nothing}=nothing)
293296
new(B)
294297
end
295298
end

0 commit comments

Comments
 (0)