Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NF] Improve handling of reductions.
- Separate the handling of array constructors and reductions so reductions can be handled properly. - Implement expansion of type names, to better handle enumeration names as iteration ranges. - Expand enumeration type names in Expression.toDAE, so that they can be converted to DAE-form. - Add missing case for enumeration literals in Expression.compare. - Don't fill in "missing" subscripts in crefs with :, it interfers with reductions in some cases and doesn't seem to have any benefits. Belonging to [master]: - OpenModelica/OMCompiler#2703 - OpenModelica/OpenModelica-testsuite#1047
- Loading branch information
1 parent
63c9d14
commit f34bf81
Showing
9 changed files
with
462 additions
and
177 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.