Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwilliams committed May 25, 2024
1 parent ccd709e commit 3603368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/jf_test_50.F90
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ subroutine test_50(error_cnt)
call json%initialize(compress_vectors = .true.) ! so it will print each col on one line

call json%create_object(p,'') !create the root
call json_value_add_real_vec_2d(json, p, 'Pcir', pcir, by_col=.true.)
call json_value_add_real_vec_2d(json, p, CK_'Pcir', pcir, by_col=.true.)
call json%print(p)

error_cnt = 0
Expand All @@ -48,7 +48,7 @@ subroutine json_value_add_real_vec_2d(json, p, name, val, by_col)
class(json_core),intent(inout) :: json
type(json_value),pointer :: p
character(kind=CK,len=*),intent(in) :: name !! name of the variable
real(wp),dimension(:,:),intent(in) :: val !! value
real(wp),dimension(:,:),intent(in) :: val !! value
logical,intent(in) :: by_col !! if true, write by column. if false, write by row

type(json_value),pointer :: var
Expand Down

0 comments on commit 3603368

Please sign in to comment.