Skip to content

Commit b6eb8d1

Browse files
andyferrisAndy Ferris
authored and
Andy Ferris
committed
Aesthetic fixes
1 parent f1315af commit b6eb8d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/HDF5.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,7 @@ function hdf5_to_julia_eltype(objtype)
18421842
error("character set ", cset, " not recognized")
18431843
end
18441844
elseif class_id == H5T_INTEGER || class_id == H5T_FLOAT
1845-
# First look in the type last for a match
1845+
# First look in the type list for a match
18461846
# otherwise fall back to a native datatype
18471847
# Allows for users to dynamically add types to the typemap
18481848
t_size = h5t_get_size(objtype)
@@ -2479,8 +2479,8 @@ function __init__()
24792479
h5p_set_char_encoding(UTF8_ATTRIBUTE_PROPERTIES[].id, cset(Compat.UTF8String))
24802480

24812481
# Set up Float16 (must occur at runtime)
2482-
eval(:(const H5T_FLOAT16 = make_float16()))
2483-
eval(:(hdf5_type_id(::Type{Float16}) = H5T_FLOAT16))
2482+
@eval(const H5T_FLOAT16 = make_float16())
2483+
@eval(hdf5_type_id(::Type{Float16}) = H5T_FLOAT16)
24842484

24852485
rehash!(hdf5_type_map, length(hdf5_type_map.keys))
24862486
rehash!(hdf5_prop_get_set, length(hdf5_prop_get_set.keys))

0 commit comments

Comments
 (0)