This repository was archived by the owner on May 18, 2019. It is now read-only.
Commit 9bcafd6
[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]:
- #28051 parent 6f93d97 commit 9bcafd6
File tree
4 files changed
+18
-20
lines changed- SimulationRuntime/cpp
- Core/DataExchange
- Include/Core
- DataExchange
- System
4 files changed
+18
-20
lines changedLines changed: 7 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 19 | | |
28 | 20 | | |
29 | 21 | | |
| |||
173 | 165 | | |
174 | 166 | | |
175 | 167 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
183 | 175 | | |
184 | 176 | | |
185 | 177 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | 30 | | |
33 | 31 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 114 | | |
118 | 115 | | |
119 | 116 | | |
| |||
122 | 119 | | |
123 | 120 | | |
124 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
0 commit comments