Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scalability for systems without variables
If a system has only parameters and no equations, we now properly estimate the size of the HashSet used for creating the ModelInfo structure as variables+parameters. This avoids using linear search due to the HashSet having size 1. This fixes ticket:4590. Belonging to [master]: - OpenModelica/OMCompiler#1961
- Loading branch information
1 parent
32ea34f
commit 0ed5264
Showing
1 changed file
with
42 additions
and
9 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