Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 65a2e70

Browse files
committedMar 18, 2025·
Debug
1 parent 89c8c06 commit 65a2e70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/firedrake/regression/test_vfs_component_bcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ def test_component_full_bcs(V):
218218
A_cmp = assemble(a, bcs=bcs_cmp, mat_type="aij")
219219
A_mixed = assemble(a, bcs=bcs_mixed, mat_type="aij")
220220

221-
assert A_full.petscmat.equal(A_cmp.petscmat)
222-
assert A_mixed.petscmat.equal(A_full.petscmat)
221+
assert A_full.petscmat.equal(A_cmp.petscmat), str((A_full.petscmat[:, :]-A_cmp.petscmat[:, :]).tolist())
222+
assert A_mixed.petscmat.equal(A_full.petscmat), str((A_full.petscmat[:, :]-A_mixed.petscmat[:, :]).tolist())
223223

224224

225225
def test_component_full_bcs_overlap(V):

0 commit comments

Comments
 (0)
Please sign in to comment.