mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-12 06:22:00 +00:00
fixed deprecationwarning in get_node_sets
This commit is contained in:
@@ -101,7 +101,7 @@ function get_node_sets(med::MEDFile, mesh_name)
|
||||
for nset in keys(nsets)
|
||||
k = split(nset, "_")
|
||||
nset_id = parse(Int, k[2])
|
||||
nset_name = ascii(pointer(convert(Vector{UInt8}, nsets[nset]["GRO"]["NOM"][1])))
|
||||
nset_name = ascii(unsafe_string(pointer(convert(Vector{UInt8}, nsets[nset]["GRO"]["NOM"][1]))))
|
||||
ns[nset_id] = Symbol(nset_name)
|
||||
end
|
||||
return ns
|
||||
|
||||
Reference in New Issue
Block a user