Skip to content

Commit

Permalink
- Removed dependency on List _tail-functions in Static.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22282 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Sep 11, 2014
1 parent b7a5aca commit de3b0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/FrontEnd/Static.mo
Expand Up @@ -9709,7 +9709,7 @@ algorithm
// Extract all dimensions from the parameters.
tys = List.map(inParameters, Types.funcArgType);
dims = getAllOutputDimensions(inResultType);
dims = List.mapFlat_tail(tys, Types.getDimensions, dims);
dims = listAppend(List.mapFlat(tys, Types.getDimensions), dims);
// Use the dimensions to figure out which parameters are referenced by
// other parameters' dimensions. This is done to minimize the things we
// need to constant evaluate, a.k.a. 'things that go wrong'.
Expand Down Expand Up @@ -9937,7 +9937,7 @@ algorithm
equation
tys = List.map(funcArg, Types.funcArgType);
dims = getAllOutputDimensions(funcResultType);
dims = List.mapFlat_tail(tys, Types.getDimensions, dims);
dims = listAppend(List.mapFlat(tys, Types.getDimensions), dims);
// Use the dimensions to figure out which parameters are referenced by
// other parameters' dimensions. This is done to minimize the things we
// need to constant evaluate, a.k.a. 'things that go wrong'.
Expand Down

0 comments on commit de3b0ee

Please sign in to comment.