Skip to content

Commit b8366a1

Browse files
committed
Fix missing argument in check.
1 parent b4b4f87 commit b8366a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/linalg/test_linalg_specialmatrices.fypp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,20 @@ contains
4545

4646
! Test y = A @ x
4747
y1 = matmul(Amat, x) ; call spmv(A, x, y2)
48-
call check(error, all_close(y1, y2))
48+
call check(error, all_close(y1, y2), .true.)
4949
if (allocated(error)) return
5050

5151
! Test y = A.T @ x
5252
y1 = 0.0_wp ; y2 = 0.0_wp
5353
y1 = matmul(transpose(Amat), x) ; call spmv(A, x, y2, op="T")
54-
call check(error, all_close(y1, y2))
54+
call check(error, all_close(y1, y2), .true.)
5555
if (allocated(error)) return
5656

5757
#:if t1.startswith('complex')
5858
! Test y = A.H @ x
5959
y1 = 0.0_wp ; y2 = 0.0_wp
6060
y1 = matmul(hermitian(Amat), x) ; call spmv(A, x, y2, op="H")
61-
call check(error, all_close(y1, y2))
61+
call check(error, all_close(y1, y2), .true.)
6262
if (allocated(error)) return
6363
#:endif
6464
end block

0 commit comments

Comments
 (0)