Skip to content

Commit

Permalink
- remove workaround case
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24241 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Jan 28, 2015
1 parent 61bcfa0 commit 7e55368
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Compiler/BackEnd/Differentiate.mo
Expand Up @@ -689,8 +689,6 @@ algorithm
equation
//se1 = ExpressionDump.printExpStr(e);
//print("\nExp-TSUB\nDifferentiate exp: " + se1);
//work-a-round, sicne otherwise AVM-model have issues with index reduction
failure(BackendDAE.DIFFERENTIATION_TIME() = inDiffType);

(res1, functionTree) = differentiateExp(e, inDiffwrtCref, inInputData, inDiffType, inFunctionTree);

Expand All @@ -708,8 +706,6 @@ algorithm
equation
//se1 = ExpressionDump.printExpStr(e);
//print("\nExp-TUPLE\nDifferentiate exp: " + se1);
//work-a-round, sicne otherwise AVM-model have issues with index reduction
failure(BackendDAE.DIFFERENTIATION_TIME() = inDiffType);

(expl, functionTree) = List.map3Fold(expl, differentiateExp, inDiffwrtCref, inInputData, inDiffType, inFunctionTree);

Expand Down

0 comments on commit 7e55368

Please sign in to comment.