Commit 13cfc4a1 authored by Alberto Ramos's avatar Alberto Ramos

Corrected bug in id mapping

parent f58bf9d5
...@@ -66,7 +66,7 @@ function get_id_from_name(str::String, ws::wspace) ...@@ -66,7 +66,7 @@ function get_id_from_name(str::String, ws::wspace)
id = ws.str2id[str] id = ws.str2id[str]
else else
if is_int32(str) if is_int32(str)
id = Base.tryparse(Int32, str) id = convert(Int64, Base.tryparse(Int32, str))
else else
id = get_new_id(ws) id = get_new_id(ws)
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment