Skip to content

Commit df9db80

Browse files
committed
fix tests
1 parent b519b1c commit df9db80

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/aggregation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function smoothed_aggregation(A::SparseMatrixCSC{T,V}, ::Type{Val{bs}}=Val{1},
55
smooth = JacobiProlongation(4.0/3.0),
66
presmoother = GaussSeidel(),
77
postsmoother = GaussSeidel(),
8-
improve_candidates = GaussSeidel(4),
8+
improve_candidates = GaussSeidel(iter=4),
99
max_levels = 10,
1010
max_coarse = 10,
1111
diagonal_dominance = false,

src/multilevel.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ Keyword Arguments
137137
function solve(ml::MultiLevel, b::AbstractArray, args...; kwargs...)
138138
n = length(ml) == 1 ? size(ml.final_A, 1) : size(ml.levels[1].A, 1)
139139
V = promote_type(eltype(ml.workspace), eltype(b))
140-
ndims(b) == blocksize(ml.workspace) && throw("Dimension of MultiLevel workspace and dimension of vector b must be equal.")
141140
x = zeros(V, size(b))
142141
return solve!(x, ml, b, args...; kwargs...)
143142
end

0 commit comments

Comments
 (0)