Skip to content

Commit

Permalink
[NF] Fix type of DAE.RANGE.
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2386
  • Loading branch information
perost authored and OpenModelica-Hudson committed Apr 23, 2018
1 parent c2dad7b commit 3f63830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/NFFrontEnd/NFExpression.mo
Expand Up @@ -947,7 +947,7 @@ public

case RANGE()
then DAE.RANGE(
Type.toDAE(exp.ty),
Type.toDAE(Type.arrayElementType(exp.ty)),
toDAE(exp.start),
if isSome(exp.step)
then SOME(toDAE(Util.getOption(exp.step)))
Expand Down

0 comments on commit 3f63830

Please sign in to comment.