Skip to content

Commit

Permalink
240119.232807.HKT revise MAX_NUM_STR_LEN to 1024
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Jan 19, 2024
1 parent 64a57f7 commit e53a8c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fortran/common/string.f90
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module string_mod
!
! Started: September 2021
!
! Last Modified: Monday, October 02, 2023 PM10:46:01
! Last Modified: Friday, January 19, 2024 PM11:20:07
!--------------------------------------------------------------------------------------------------!

implicit none
Expand All @@ -15,8 +15,8 @@ module string_mod

! MAX_NUM_STR_LEN is the maximum length of a string that is needed to represent a real or integer
! number. Assuming that such a number is represented by at most 128 bits, it is safe to set this
! maximum length to 128. We set this number to 256 to be on the safe side.
integer, parameter :: MAX_NUM_STR_LEN = 256
! maximum length to 128. We set this number to 1024 to be on the safe side.
integer, parameter :: MAX_NUM_STR_LEN = 1024
! MAX_WIDTH is the maximum number of characters printed in each row when printing arrays.
integer, parameter :: MAX_WIDTH = 100

Expand Down

0 comments on commit e53a8c5

Please sign in to comment.