File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1813,7 +1813,7 @@ function hdf5_to_julia_eltype(objtype)
1813
1813
error (" character set " , cset, " not recognized" )
1814
1814
end
1815
1815
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
1817
1817
# otherwise fall back to a native datatype
1818
1818
# Allows for users to dynamically add types to the typemap
1819
1819
t_size = h5t_get_size (objtype)
@@ -2448,8 +2448,8 @@ function __init__()
2448
2448
h5p_set_char_encoding (UTF8_ATTRIBUTE_PROPERTIES[]. id, cset (Compat. UTF8String))
2449
2449
2450
2450
# 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)
2453
2453
2454
2454
rehash! (hdf5_type_map, length (hdf5_type_map. keys))
2455
2455
rehash! (hdf5_prop_get_set, length (hdf5_prop_get_set. keys))
You can’t perform that action at this time.
0 commit comments