Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cpp] Fix derivative vars in XmlPropertyReader, ticket:4773
Commit b528b72 (Fatemeh Davoudi implementation of the symbolic model reduction algorithm) introduced _derVars and _resVars along with a second constructor that initialized the dimension of _derVars as _dimRHS. This second constructor was not used though, leaving _dimRHS undefined and running a for loop with undefined end during initialization. This commit removes the second constructor and the uninitialized variable. It uses consistent size info from SimVars instead. Belonging to [master]: - OpenModelica/OMCompiler#2805
- Loading branch information
1 parent
6f93d97
commit 9bcafd6
Showing
4 changed files
with
18 additions
and
20 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
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