Skip to content

Commit

Permalink
Update hdf5.md (#412)
Browse files Browse the repository at this point in the history
Use the current syntax to collect ranges in the doc page
  • Loading branch information
IlyaOrson authored and musm committed May 30, 2017
1 parent f7ed23b commit cb7d79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/hdf5.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ where dims is a tuple of integers. For example
```julia
b = d_create(fid, "b", Int, ((1000,),(-1,)), "chunk", (100,)) #-1 is equivalent to typemax(Hsize)
set_dims!(b, (10000,))
b[1:10000] = [1:10000]
b[1:10000] = collect(1:10000)
```
when dimensions are reduced, the truncated data is lost. A maximum dimension of -1 is often referred to as unlimited dimensions, though it is limited by the maximum size of an unsigned integer.

Expand Down

0 comments on commit cb7d79a

Please sign in to comment.