Skip to content

Commit

Permalink
Fix #54.
Browse files Browse the repository at this point in the history
Oddly, this is something we were already testing for, and the
tests worked. But in a different context it generated an error.
You have entered the twilight zone...(creepy music)
  • Loading branch information
timholy committed Nov 20, 2013
1 parent a195001 commit ff40eb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plain.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,7 @@ function read{S<:ByteString}(obj::DatasetOrAttribute, ::Type{Array{S}})
close(objtype)
end
memtype_id = h5t_copy(H5T_C_S1)
h5t_set_cset(memtype_id, cset(S))
if isempty(sz)
ret = Array(S, 0)
else
Expand Down

0 comments on commit ff40eb3

Please sign in to comment.