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 @@ -1842,7 +1842,7 @@ function hdf5_to_julia_eltype(objtype)
1842
1842
error (" character set " , cset, " not recognized" )
1843
1843
end
1844
1844
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
1846
1846
# otherwise fall back to a native datatype
1847
1847
# Allows for users to dynamically add types to the typemap
1848
1848
t_size = h5t_get_size (objtype)
@@ -2479,8 +2479,8 @@ function __init__()
2479
2479
h5p_set_char_encoding (UTF8_ATTRIBUTE_PROPERTIES[]. id, cset (Compat. UTF8String))
2480
2480
2481
2481
# 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)
2484
2484
2485
2485
rehash! (hdf5_type_map, length (hdf5_type_map. keys))
2486
2486
rehash! (hdf5_prop_get_set, length (hdf5_prop_get_set. keys))
You can’t perform that action at this time.
0 commit comments