Skip to content

Commit bacb3f9

Browse files
[Janitor mode] Fix whitespace
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@21664 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent cb83b44 commit bacb3f9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Compiler/BackEnd/BackendEquation.mo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,27 +2208,27 @@ algorithm
22082208
DAE.Dimensions dims;
22092209
list<Integer> ds;
22102210
Boolean b1, b2;
2211-
2211+
22122212
// complex types to complex equations
22132213
case (_, _, _, _, _) equation
22142214
true = DAEUtil.expTypeComplex(ty);
22152215
size = Expression.sizeOf(ty);
22162216
then BackendDAE.COMPLEX_EQUATION(size, lhs, rhs, source, inEqAttr);
2217-
2217+
22182218
// array types to array equations
22192219
case (_, _, _, _, _) equation
22202220
true = DAEUtil.expTypeArray(ty);
22212221
dims = Expression.arrayDimension(ty);
22222222
ds = Expression.dimensionsSizes(dims);
22232223
then BackendDAE.ARRAY_EQUATION(ds, lhs, rhs, source, inEqAttr);
2224-
2224+
22252225
// other types
22262226
case (_, _, _, _, _) equation
22272227
b1 = DAEUtil.expTypeComplex(ty);
22282228
b2 = DAEUtil.expTypeArray(ty);
22292229
false = b1 or b2;
22302230
then BackendDAE.EQUATION(lhs, rhs, source, inEqAttr);
2231-
2231+
22322232
else equation
22332233
// show only on failtrace!
22342234
true = Flags.isSet(Flags.FAILTRACE);

Compiler/BackEnd/SimCodeUtil.mo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4696,13 +4696,13 @@ algorithm
46964696
// if only sparsity pattern is generated
46974697
case (((NONE(), (sparsepattern, (diffCompRefs, diffedCompRefs)), colsColors))::rest, SimCode.MODELINFO(vars=simvars), _, name::restnames)
46984698
equation
4699-
4699+
47004700
(_, (_, seedVars)) = traveseSimVars(simvars, findSimVarsCompare, (diffCompRefs, {}));
47014701
Debug.fcall(Flags.JAC_DUMP2, print, "diffCrefs: " +& ComponentReference.printComponentRefListStr(diffCompRefs) +& "\n");
47024702
Debug.fcall(Flags.JAC_DUMP2, print, "\n---+++ seedVars +++---\n");
47034703
Debug.fcall(Flags.JAC_DUMP2, print, Tpl.tplString(SimCodeDump.dumpVarsShort, seedVars));
47044704

4705-
4705+
47064706
(_, (_, indexVars)) = traveseSimVars(simvars, findSimVarsCompare, (diffedCompRefs, {}));
47074707
Debug.fcall(Flags.JAC_DUMP2, print, "diffedCrefs: " +& ComponentReference.printComponentRefListStr(diffedCompRefs) +& "\n");
47084708
Debug.fcall(Flags.JAC_DUMP2, print, "\n---+++ indexVars +++---\n");
@@ -4750,12 +4750,12 @@ algorithm
47504750
Debug.fcall(Flags.JAC_DUMP2, print, "diffCrefs: " +& ComponentReference.printComponentRefListStr(diffCompRefs) +& "\n");
47514751
Debug.fcall(Flags.JAC_DUMP2, print, "\n---+++ seedVars +++---\n");
47524752
Debug.fcall(Flags.JAC_DUMP2, print, Tpl.tplString(SimCodeDump.dumpVarsShort, seedVars));
4753-
4753+
47544754
(_, (_, indexVars)) = traveseSimVars(simvars, findSimVarsCompare, (diffedCompRefs, {}));
47554755
Debug.fcall(Flags.JAC_DUMP2, print, "diffedCrefs: " +& ComponentReference.printComponentRefListStr(diffedCompRefs) +& "\n");
47564756
Debug.fcall(Flags.JAC_DUMP2, print, "\n---+++ indexVars +++---\n");
47574757
Debug.fcall(Flags.JAC_DUMP2, print, Tpl.tplString(SimCodeDump.dumpVarsShort, indexVars));
4758-
4758+
47594759
maxColor = listLength(colsColors);
47604760
s = intString(listLength(diffedVars));
47614761

0 commit comments

Comments
 (0)