-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct initialization of 2D arrays to allow dimensions with mat…
- Loading branch information
1 parent
0de8016
commit 2ed7e42
Showing
4 changed files
with
69 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,35 @@ | ||
{ | ||
"name": "Arrays test model (where the spec file contains C names with numeric subscript indices)", | ||
"inputVars": ["_inputa[0]", "_inputa[1]", "_inputa[2]"], | ||
"outputVars": ["_time", "_a[0]", "_a[1]", "_a[2]", "_f[0][0]", "_f[0][1]", "_f[0][2]", "_h"] | ||
"outputVars": [ | ||
"_time", | ||
"_a[0]", | ||
"_a[1]", | ||
"_a[2]", | ||
"_f[0][0]", | ||
"_f[0][1]", | ||
"_f[0][2]", | ||
"_h", | ||
"_s[0][0]", | ||
"_s[0][1]", | ||
"_s[0][2]", | ||
"_s[0][3]", | ||
"_s[1][0]", | ||
"_s[1][1]", | ||
"_s[1][2]", | ||
"_s[1][3]", | ||
"_s[2][0]", | ||
"_s[2][1]", | ||
"_s[2][2]", | ||
"_s[2][3]", | ||
"_sc[0][0]", | ||
"_sc[0][1]", | ||
"_sc[0][2]", | ||
"_sc[1][0]", | ||
"_sc[1][1]", | ||
"_sc[1][2]", | ||
"_sc[2][0]", | ||
"_sc[2][1]", | ||
"_sc[2][2]" | ||
] | ||
} |
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