-
Notifications
You must be signed in to change notification settings - Fork 87
Get alloc string #265
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Get alloc string #265
Conversation
…length is the max length of any string in the array). some other minor refactoring.
…into get_alloc_string
…into get_alloc_string
…into get_alloc_string
added unit tests.
The new Test 25 is failing on Travis with |
src/json_value_module.F90
Outdated
@@ -6965,7 +6964,7 @@ subroutine get_chars_from_array(json, element, i, count) | |||
if (.not. initialized) then | |||
! string length long enough to hold the longest one | |||
allocate( character(kind=CK,len=max_len) :: vec(count) ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably causing test to fail on Travis (with the older gfortran). See #265.
Codecov Report
@@ Coverage Diff @@
## master #265 +/- ##
==========================================
- Coverage 87.08% 86.07% -1.01%
==========================================
Files 3 3
Lines 3669 3791 +122
==========================================
+ Hits 3195 3263 +68
- Misses 474 528 +54 Continue to review full report at Codecov.
|
Added routines for getting an allocatable string vector.
Added a new
string_info
routine.Fixes #245