julia> D = GMT.ogrfeatures2GMTdataset(colomb);
ERROR: BoundsError: attempt to access 119-element Array{GMT.GMTdataset,1} at index [127]
The thing happens at an instruction like this unsafe_wrap(Array, x, np)
and is cause by a wrong np
but the whole thing comes from wrapping a C lib and fixing it implies find/fix the bug in the C side. However, Julia knows the size of x
because it says there are 119-elements in it. So, how can I access to the same information? This would allow to solve the issue for now.
Thanks.