Skip to content

Commit afc92a2

Browse files
committed
median: add comment in test median
1 parent 391c658 commit afc92a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tests/stats/test_median.fypp

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ subroutine test_median_${k1}$()
2222
${t1}$, allocatable :: d0(:), d1(:), d2(:,:), d3(:,:,:)
2323

2424
allocate(d0(0))
25+
!check just to be sure that the setup of d0 is correct
2526
call check(size(d0) == 0, 'test_median_${k1}$: should be of size 0')
2627

2728
d1 = [10, 2, -3, -4, 6, -6, 7, -8, 9, 0, 1, 20]
@@ -109,6 +110,7 @@ subroutine test_median_${k1}$()
109110
${t1}$, allocatable :: d0(:), d1(:), d2(:,:), d3(:,:,:)
110111

111112
allocate(d0(0))
113+
!check just to be sure that the setup of d0 is correct
112114
call check(size(d0) == 0, 'test_median_${k1}$: should be of size 0')
113115

114116
d1 = [10., 2., -3., -4., 6., -6., 7., -8., 9., 0., 1., 20.]

0 commit comments

Comments
 (0)