Skip to content

Commit

Permalink
fix SimCodeUtil.mo after merging
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaeuber committed May 19, 2015
1 parent 6db7559 commit 7706696
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/SimCode/SimCodeUtil.mo
Expand Up @@ -12599,7 +12599,7 @@ algorithm
end match;
end createVarToArrayIndexMapping;

protected function createVarToArrayIndexMapping1 "author: marcusw
public function addVarToArrayIndexMapping "author: marcusw
Adds the given variable to the array-mapping and to the var-mapping."
input SimCodeVar.SimVar iVar;
input Integer iVarType; //1 = real ; 2 = int ; 3 = bool
Expand Down Expand Up @@ -12654,10 +12654,10 @@ algorithm
then ((tmpCurrentVarIndices, tmpVarToArrayIndexMapping, tmpVarToIndexMapping));
else
equation
Error.addMessage(Error.INTERNAL_ERROR, {"Unknown case for createVarToArrayIndexMapping1.\n"});
Error.addMessage(Error.INTERNAL_ERROR, {"Unknown case for addVarToArrayIndexMapping.\n"});
then iCurrentVarIndicesHashTable;
end match;
end createVarToArrayIndexMapping1;
end addVarToArrayIndexMapping;

protected function checkIfSubscriptsContainsUnhandlableIndices "author: marcusw
Returns false if at least one subscript can not be handled as constant index."
Expand Down

0 comments on commit 7706696

Please sign in to comment.