Skip to content

Commit

Permalink
Revert "improved array dump"
Browse files Browse the repository at this point in the history
This reverts commit c3733b3.
  • Loading branch information
lochel authored and OpenModelica-Hudson committed Oct 26, 2016
1 parent b2f7540 commit 2722e76
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions Compiler/BackEnd/BackendDump.mo
Expand Up @@ -882,24 +882,16 @@ algorithm
dumpBackendDAEEqnList2(res, printExpTree);
then ();

case (BackendDAE.ARRAY_EQUATION(left=e1, right=e2, attr=BackendDAE.EQUATION_ATTRIBUTES(kind=eqKind))::res,_) equation
case (BackendDAE.ARRAY_EQUATION(left=e1, attr=BackendDAE.EQUATION_ATTRIBUTES(kind=eqKind))::res,_) equation
print("ARRAY_EQUATION: ");
str = ExpressionDump.printExpStr(e1);
str = str + " = ";
str = str + ExpressionDump.printExpStr(e2);
str = str + " (" + equationKindString(eqKind) + ")\n";
print(str);

str = "LHS:\n";
str = str + ExpressionDump.dumpExpStr(e1, 0);
str = str + "RHS:\n";
str = str + ExpressionDump.dumpExpStr(e2, 0);
str = str + "\n";
str = str + " (" + equationKindString(eqKind) + ")\n";
str = ExpressionDump.dumpExpStr(e1,0);
str = if printExpTree then str else "";
print(str);

print("\n");
dumpBackendDAEEqnList2(res,printExpTree);

then ();

case (BackendDAE.ALGORITHM(alg=alg, attr=BackendDAE.EQUATION_ATTRIBUTES(kind=eqKind))::res,_) equation
Expand Down

0 comments on commit 2722e76

Please sign in to comment.