Skip to content

Commit c1b75b0

Browse files
Merge pull request #392 from nrc-fuels/master
Fix for undeclared variable causing failing test on Mac
2 parents 7807370 + 0350e7b commit c1b75b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tests/jf_test_26.F90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ subroutine test_26(error_cnt)
2222
logical(lk) :: is_valid
2323
character(kind=CK,len=:),allocatable :: error_msg
2424

25+
error_cnt = 0
26+
2527
call f%initialize() ! specify whatever init options you want.
2628

2729
write(error_unit,'(A)') 'adding data to json_file...'
@@ -76,7 +78,7 @@ program jf_test_26
7678
use jf_test_26_mod , only: test_26
7779
implicit none
7880
integer :: n_errors
79-
n_errors = 0
81+
8082
call test_26(n_errors)
8183
if (n_errors /= 0) stop 1
8284

0 commit comments

Comments
 (0)