Skip to content

Commit df8c6a6

Browse files
authored
Aesthetic fixes
1 parent b64594f commit df8c6a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plain.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,7 @@ function hdf5_to_julia_eltype(objtype)
18131813
error("character set ", cset, " not recognized")
18141814
end
18151815
elseif class_id == H5T_INTEGER || class_id == H5T_FLOAT
1816-
# First look in the type last for a match
1816+
# First look in the type list for a match
18171817
# otherwise fall back to a native datatype
18181818
# Allows for users to dynamically add types to the typemap
18191819
t_size = h5t_get_size(objtype)
@@ -2448,8 +2448,8 @@ function __init__()
24482448
h5p_set_char_encoding(UTF8_ATTRIBUTE_PROPERTIES[].id, cset(Compat.UTF8String))
24492449

24502450
# Set up Float16 (must occur at runtime)
2451-
eval(:(const H5T_FLOAT16 = make_float16()))
2452-
eval(:(hdf5_type_id(::Type{Float16}) = H5T_FLOAT16))
2451+
@eval(const H5T_FLOAT16 = make_float16())
2452+
@eval(hdf5_type_id(::Type{Float16}) = H5T_FLOAT16)
24532453

24542454
rehash!(hdf5_type_map, length(hdf5_type_map.keys))
24552455
rehash!(hdf5_prop_get_set, length(hdf5_prop_get_set.keys))

0 commit comments

Comments
 (0)