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@23994 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Jan 9, 2015
1 parent d4946d4 commit d079dd0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/BackendEquation.mo
Expand Up @@ -2163,7 +2163,7 @@ public function normalizationVec
input String name "var name";
input Integer offset;
input BackendDAE.EquationArray ieqns;
input BackendDAE.Variables ivars;
input BackendDAE.Variables ivars;
output array<DAE.Exp> nvec;
output BackendDAE.EquationArray oeqns;
output BackendDAE.Variables ovars;
Expand Down
12 changes: 6 additions & 6 deletions Compiler/BackEnd/ResolveLoops.mo
Expand Up @@ -2110,7 +2110,7 @@ algorithm
runMatching := runMatching or b;
end for;
outTpl := (runMatching, offset);


if runMatching then
osyst := match(osyst)
Expand Down Expand Up @@ -2267,7 +2267,7 @@ algorithm
m := m + 1;
end for;
//qrDecomposition3(b, n, false, "b");

// x
m := 1;
for xx in x_lst loop
Expand Down Expand Up @@ -2353,7 +2353,7 @@ algorithm

end for;
//qrDecomposition3(Q, n, true, "Q");


// R
for i in 1:n loop
Expand Down Expand Up @@ -2400,7 +2400,7 @@ protected function qrDecomposition2
input Integer sizeA;
input Integer i "row";
output array<DAE.Exp> row := arrayCreate(sizeA,DAE.RCONST(0.0)) "A(:,i)";
protected
protected
Integer k := i - 1;
algorithm
for j in 1:sizeA loop
Expand Down Expand Up @@ -2438,7 +2438,7 @@ protected function gramSchmidtProcessHelper
input String name "var name";
input Integer offset;
input BackendDAE.EquationArray ieqns;
input BackendDAE.Variables ivars;
input BackendDAE.Variables ivars;
output array<DAE.Exp> v;
output BackendDAE.EquationArray oeqns;
output BackendDAE.Variables ovars;
Expand All @@ -2453,7 +2453,7 @@ algorithm
(h,oeqns,ovars) := BackendEquation.makeTmpEqnForExp(arrayGet(v,i), name + "_" + intString(i), offset, oeqns, ovars);
arrayUpdate(v,i,h);
end for;

end gramSchmidtProcessHelper;

annotation(__OpenModelica_Interface="backend");
Expand Down
4 changes: 2 additions & 2 deletions Compiler/FrontEnd/Expression.mo
Expand Up @@ -3878,7 +3878,7 @@ public function addVec
input array<DAE.Exp> v;
input array<DAE.Exp> w;
output array<DAE.Exp> y;

protected
Integer size1:=arrayLength(v), size2:= arrayLength(w);
algorithm
Expand All @@ -3896,7 +3896,7 @@ public function subVec
input array<DAE.Exp> v;
input array<DAE.Exp> w;
output array<DAE.Exp> y;

protected
Integer size1:=arrayLength(v), size2:= arrayLength(w);
algorithm
Expand Down

0 comments on commit d079dd0

Please sign in to comment.