Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
avoid List.intRange() in for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
vwaurich authored and OpenModelica-Hudson committed Jul 26, 2017
1 parent 388bbcf commit 441b181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/ResolveLoops.mo
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ protected
list<Integer> varMap;
algorithm
varMap := {};
for varIdx in List.intRange(arrayLength(markLinEqVars)) loop
for varIdx in 1:arrayLength(markLinEqVars) loop
if markLinEqVars[varIdx] > 0 then
varMap := varIdx::varMap;
simpVars := BackendVariable.getVarAt(vars, varIdx)::simpVars;
Expand Down

0 comments on commit 441b181

Please sign in to comment.