Skip to content

Commit

Permalink
Don't print empty dimension list
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel committed Jul 24, 2015
1 parent b67297d commit 4b9aeab
Show file tree
Hide file tree
Showing 29 changed files with 2,191 additions and 2,191 deletions.
2 changes: 1 addition & 1 deletion flattening/modelica/statemachines/ConferenceTut1.mo
Expand Up @@ -40,7 +40,7 @@ end ConferenceTut1;
// equation
// state1.i = 2 + previous(i);
// end state1;
//
//
// state state2
// output Integer state2.i;
// equation
Expand Down
Expand Up @@ -96,7 +96,7 @@ end HierarchicalAndParallelStateMachine;
// state1.stateX.i = 1 + previous(state1.stateX.i);
// state1.stateX.w = state1.v;
// end state1.stateX;
//
//
// state state1.stateY
// Integer state1.stateY.j(start = 0);
// equation
Expand All @@ -106,26 +106,26 @@ end HierarchicalAndParallelStateMachine;
// transition(state1.stateX, state1.stateY, state1.stateX.i > 20, false, true, false, 1);
// initialState(state1.stateX);
// end state1.stateX;
//
//
// stateMachine state1.stateA
// state state1.stateA
// output Integer state1.stateA.v;
// equation
// state1.stateA.v = 2 + previous(v);
// end state1.stateA;
//
//
// state state1.stateB
// output Integer state1.stateB.v;
// equation
// state1.stateB.v = -1 + previous(v);
// end state1.stateB;
//
//
// state state1.stateC
// output Integer state1.stateC.count;
// equation
// state1.stateC.count = 1 + previous(state1.count);
// end state1.stateC;
//
//
// state state1.stateD
// end state1.stateD;
// equation
Expand All @@ -139,7 +139,7 @@ end HierarchicalAndParallelStateMachine;
// state1.v = if activeState(state1.stateA) then state1.stateA.v else if activeState(state1.stateB) then state1.stateB.v else previous(v);
// state1.count = if activeState(state1.stateC) then state1.stateC.count else previous(state1.count);
// end state1;
//
//
// state state2
// output Integer state2.v;
// equation
Expand All @@ -153,4 +153,4 @@ end HierarchicalAndParallelStateMachine;
// equation
// v = if activeState(state1) then state1.v else if activeState(state2) then state2.v else previous(v);
// end HierarchicalAndParallelStateMachine;
// endResult
// endResult

0 comments on commit 4b9aeab

Please sign in to comment.