Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25367 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Apr 2, 2015
1 parent 2a962db commit 7aaefa8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -2199,9 +2199,9 @@ algorithm
indx_arr := arrayCreate(equationArraySizeDAE(iSyst), 0);
funcs := getFunctions(shared);
(_, m, _) := getIncidenceMatrix(iSyst, BackendDAE.SPARSE(), SOME(funcs));

indx_arr := markStateEquationsWork(indx_lst_e, {}, m, ass1, indx_arr);

indx_lst_e := Array.foldIndex(indx_arr, translateArrayList, {});

el := BackendEquation.getEqns(indx_lst_e, ordererdEqs);
Expand Down
4 changes: 2 additions & 2 deletions Compiler/BackEnd/BackendEquation.mo
Expand Up @@ -280,7 +280,7 @@ algorithm
end expressionVars;

public function checkEquationsVarsExpTopDownTraverseHelper
"This function traverses expssions to-down to collect all
"This function traverses expssions to-down to collect all
variables that are involed into the expression."
input DAE.Exp inExp;
input tuple<BackendDAE.Variables, BinaryTreeInt.BinTree> itpl;
Expand Down Expand Up @@ -314,7 +314,7 @@ algorithm
then (e, true, (vars, bt));

// case for pre vars
case (e as DAE.CALL(path = Absyn.IDENT(name = "pre")), _)
case (e as DAE.CALL(path = Absyn.IDENT(name = "pre")), _)
then (inExp, false, inTuple);

// add it
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Util/Array.mo
Expand Up @@ -420,7 +420,7 @@ public function foldIndex<T, FoldT>
input FoldT inFoldArg;
output FoldT outFoldArg;
end FoldFunc;
protected
protected
T e;
algorithm
for i in 1:arrayLength(inArray) loop
Expand Down

0 comments on commit 7aaefa8

Please sign in to comment.