Skip to content

Commit b63e7aa

Browse files
committed
Fix solvers
1 parent eab6254 commit b63e7aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

PartitionedSolvers/test/amg_tests.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,9 @@ Pl = preconditioner(amg(;fine_params),y,A,b)
6565
y .= 0
6666
cg!(y,A,b;Pl,verbose=true)
6767

68-
69-
7068
# Now in parallel
7169

72-
parts_per_dir = (1,2)
70+
parts_per_dir = (2,2)
7371
np = prod(parts_per_dir)
7472
parts = DebugArray(LinearIndices((np,)))
7573

@@ -91,6 +89,7 @@ finalize!(solver)(S)
9189

9290
# Now with a nullspace
9391

92+
solver = amg()
9493
O = attach_nullspace(A,default_nullspace(A))
9594
S = setup(solver)(y,O,b)
9695
solve!(solver)(y,S,b)

0 commit comments

Comments
 (0)