@@ -54,7 +54,7 @@ subroutine test_19(error_cnt)
54
54
call json% print (p,error_unit)
55
55
56
56
! get some info:
57
- call json% get(p,' matrix' ,p_matrix)
57
+ call json% get(p,ck_ ' matrix' ,p_matrix)
58
58
call json% matrix_info(p_matrix,is_matrix,var_type,n_sets,set_size,name)
59
59
60
60
if (json% failed()) then
@@ -79,7 +79,7 @@ subroutine test_19(error_cnt)
79
79
end if
80
80
81
81
! now test with a variable that is NOT a matrix:
82
- call json% get(p,' matrix(1)' ,p_matrix)
82
+ call json% get(p,ck_ ' matrix(1)' ,p_matrix)
83
83
call json% matrix_info(p_matrix,is_matrix,var_type,n_sets,set_size,name)
84
84
if (json% failed()) then
85
85
call json% print_error_message(error_unit)
@@ -88,17 +88,17 @@ subroutine test_19(error_cnt)
88
88
if (.not. is_matrix) then
89
89
write (error_unit,' (A)' ) ' ...success'
90
90
else
91
- write (error_unit,' (A)' ) ' Error: this should not be a matrix: '
91
+ write (error_unit,' (A)' ) ' Error: this should not be a matrix'
92
92
error_cnt = error_cnt + 1
93
93
end if
94
94
end if
95
95
96
96
! now, test by path:
97
97
#if defined __GFORTRAN__
98
98
! stupid workaround for gfortran bugs
99
- name = ' Hello!' ! just assign something before calling info routine
99
+ name = ck_ ' Hello!' ! just assign something before calling info routine
100
100
#endif
101
- call json% matrix_info(p,' matrix' ,is_matrix,&
101
+ call json% matrix_info(p,ck_ ' matrix' ,is_matrix,&
102
102
var_type= var_type,n_sets= n_sets,&
103
103
set_size= set_size,name= name)
104
104
@@ -124,7 +124,7 @@ subroutine test_19(error_cnt)
124
124
end if
125
125
126
126
! also test with "found" input:
127
- call json% matrix_info(p,' matrix' ,is_matrix,found= found,&
127
+ call json% matrix_info(p,ck_ ' matrix' ,is_matrix,found= found,&
128
128
var_type= var_type,n_sets= n_sets,&
129
129
set_size= set_size,name= name)
130
130
if (found) then
@@ -142,7 +142,7 @@ subroutine test_19(error_cnt)
142
142
end if
143
143
144
144
! now test with a variable that is NOT a matrix:
145
- call json% matrix_info(p,' matrix(1)' ,is_matrix,found= found,&
145
+ call json% matrix_info(p,ck_ ' matrix(1)' ,is_matrix,found= found,&
146
146
var_type= var_type,n_sets= n_sets,&
147
147
set_size= set_size,name= name)
148
148
if (.not. is_matrix) then
0 commit comments