Skip to content

Commit 41b8b8e

Browse files
committed
sort_sign: add init ltest
1 parent df150f2 commit 41b8b8e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: src/tests/sorting/test_sorting.f90

+6
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ subroutine test_char_ord_sort( a, a_name, ltest )
287287
integer(int64) :: i
288288
logical :: valid
289289

290+
ltest = .true.
291+
290292
tdiff = 0
291293
do i = 1, repeat
292294
char_dummy = a
@@ -494,6 +496,8 @@ subroutine test_char_sorts( ltest )
494496

495497
logical :: ldummy
496498

499+
ltest = .true.
500+
497501
call test_char_sort( char_decrease, "Char. Decrease", ldummy )
498502
ltest = (ltest .and. ldummy)
499503

@@ -515,6 +519,8 @@ subroutine test_char_sort( a, a_name, ltest )
515519
integer(int64) :: i
516520
logical :: valid
517521

522+
ltest = .true.
523+
518524
tdiff = 0
519525
do i = 1, repeat
520526
char_dummy = a

0 commit comments

Comments
 (0)