Skip to content

Commit

Permalink
Aesthetic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andyferris authored Oct 26, 2016
1 parent b64594f commit df8c6a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plain.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@ function hdf5_to_julia_eltype(objtype)
error("character set ", cset, " not recognized")
end
elseif class_id == H5T_INTEGER || class_id == H5T_FLOAT
# First look in the type last for a match
# First look in the type list for a match
# otherwise fall back to a native datatype
# Allows for users to dynamically add types to the typemap
t_size = h5t_get_size(objtype)
Expand Down Expand Up @@ -2448,8 +2448,8 @@ function __init__()
h5p_set_char_encoding(UTF8_ATTRIBUTE_PROPERTIES[].id, cset(Compat.UTF8String))

# Set up Float16 (must occur at runtime)
eval(:(const H5T_FLOAT16 = make_float16()))
eval(:(hdf5_type_id(::Type{Float16}) = H5T_FLOAT16))
@eval(const H5T_FLOAT16 = make_float16())
@eval(hdf5_type_id(::Type{Float16}) = H5T_FLOAT16)

rehash!(hdf5_type_map, length(hdf5_type_map.keys))
rehash!(hdf5_prop_get_set, length(hdf5_prop_get_set.keys))
Expand Down

0 comments on commit df8c6a6

Please sign in to comment.