forked from OpenModelica/OpenModelica
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix empty array slices in Cpp runtime (OpenModelica#7649)
* Fix empty array slices in Cpp runtime `stop=0` in `start:step:stop` was used to mark `end` so far. It is needed for empty slices though. See e.g. ModelicaTest.Math.TestMatrices2b (MSL 4.0.0) raising ERROR : init : SimManager: Wrong slice exceeding array size * Add missing access operators for 3-5 dims to ArraySliceConst * Prevent reduction of ArraySlice for index set of size 1
- Loading branch information
Showing
2 changed files
with
68 additions
and
17 deletions.
There are no files selected for viewing
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