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)
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))
You can’t perform that action at this time.
0 commit comments