Skip to content

Commit

Permalink
fixes to some of the MM runtime functions
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Feb 11, 2020
1 parent db3a649 commit 4253f83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metaRuntime.jl
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,12 @@ function realString(r::ModelicaReal)::String
end

function stringCharInt(ch::String)::ModelicaInteger
local i::ModelicaInteger = Int64(char(ch[1]))
local i::ModelicaInteger = Int64(ch[1])
i
end

function intStringChar(i::ModelicaInteger)::String
local ch::String = string(char(i))
local ch::String = string(Char(i))
ch
end

Expand Down

0 comments on commit 4253f83

Please sign in to comment.