Skip to content

Commit

Permalink
Fortran parmparse: trim before adding string
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Jul 26, 2017
1 parent de5584e commit ad57f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Base/AMReX_parmparse_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ subroutine add_stringarr (this, name, v)
allocate(cs(ntot))
i = 1
do ni = 1, n
do mi = 1, m
do mi = 1, len_trim(v(ni))
cs(i) = v(ni)(mi:mi)
i = i+1
end do
Expand Down

0 comments on commit ad57f50

Please sign in to comment.