File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -13969,13 +13969,13 @@ algorithm
1396913969 outSparsePattern := match(sparsePattern, simCode)
1397013970 local
1397113971 list<tuple<DAE.ComponentRef, list<DAE.ComponentRef>>> all;
13972-
13972+
1397313973 case ({}, _) then {};
13974-
13974+
1397513975 case (all, _)
1397613976 then translateSparsePatterSimVarIntsWork(sparsePattern, simCode, {});
13977-
13978- end match;
13977+
13978+ end match;
1397913979end translateSparsePatterSimVarInts;
1398013980
1398113981protected function translateSparsePatterSimVarIntsWork
@@ -14014,13 +14014,13 @@ algorithm
1401414014 outColors := match(inColors, simCode)
1401514015 local
1401614016 list<list<DAE.ComponentRef>> all;
14017-
14017+
1401814018 case ({}, _) then {};
14019-
14019+
1402014020 case (all, _)
1402114021 then List.mapList1_1(all, translateCref2SimVarIndex, simCode);
14022-
14023- end match;
14022+
14023+ end match;
1402414024end translateColorsSimVarInts;
1402514025
1402614026protected function compareSparsePatterInt
Original file line number Diff line number Diff line change @@ -840,19 +840,19 @@ package SimCodeUtil
840840 input SimCode . SimCode simCode;
841841 output Integer idxOut;
842842 end getMaxSimEqSystemIndex;
843-
843+
844844 function translateSparsePatterSimVarInts
845845 input list< tuple< DAE . ComponentRef , list< DAE . ComponentRef >>> sparsePattern;
846846 input SimCode . SimCode simCode;
847847 output list< tuple< Integer , list< Integer >>> outSparsePattern;
848848 end translateSparsePatterSimVarInts;
849-
849+
850850 function translateColorsSimVarInts
851851 input list< list< DAE . ComponentRef >> inColors;
852852 input SimCode . SimCode simCode;
853853 output list< list< Integer >> outColors;
854854 end translateColorsSimVarInts;
855-
855+
856856end SimCodeUtil ;
857857
858858
You can’t perform that action at this time.
0 commit comments