Skip to content

Commit

Permalink
README.md: update return type of npzread in example (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub authored Nov 13, 2020
1 parent 5fe23b6 commit a714e9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Write and then read back a collection of arrays or numbers:
julia> npzwrite("data.npz", Dict("x" => x, "a" => collect(1:9), "n" => 42))

julia> vars = npzread("data.npz")
["x"=>3x4 Int64 Array:
0 -1 -2 -3
1 0 -1 -2
2 1 0 -1,"n"=>42,"a"=>[1,2,3,4,5,6,7,8,9]]
Dict{String,Any} with 3 entries:
"x" => [0 -1 -2 -3; 1 0 -1 -2; 2 1 0 -1]
"a" => [1, 2, 3, 4, 5, 6, 7, 8, 9]
"n" => 42
```

0 comments on commit a714e9d

Please sign in to comment.