Skip to content

Commit

Permalink
- Increased the size of the types memory array
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7641 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jan 5, 2011
1 parent 733c42e commit 1f34bff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Compiler/FrontEnd/Types.mo
Expand Up @@ -3592,10 +3592,12 @@ end getPropType;

public function createEmptyTypeMemory
"@author: adrpo
creates an array, with one element for each record in TType!"
creates an array, with one element for each record in TType!
Note: This has to be at least 4 larger than the number of records in DAE.Type,
due to the way bootstrapping indexes records."
output TypeMemoryEntryListArray tyMemory;
algorithm
tyMemory := arrayCreate(21, {});
tyMemory := arrayCreate(30, {});
end createEmptyTypeMemory;

// define constants so they don't consume memory!
Expand Down

0 comments on commit 1f34bff

Please sign in to comment.