We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 592a3fb commit beccd0cCopy full SHA for beccd0c
flattening/modelica/arrays/Makefile
@@ -121,6 +121,7 @@ InOutArray.mo \
121
Matrix.mo \
122
Matrix1.mo \
123
Matrix2.mo \
124
+Matrix3.mo \
125
MatrixAddition.mo \
126
MatrixBrackets.mo \
127
MatrixEquation.mo \
flattening/modelica/arrays/Matrix3.mo
@@ -0,0 +1,19 @@
1
+// status: correct
2
+// ticket #3518
3
+
4
+model Matrix3
5
+ Boolean b = false;
6
+ constant Integer n = 2;
7
+ Boolean[:,:] vecB = [fill(true,n-1);b];
8
+end Matrix3;
9
10
+// Result:
11
+// class Matrix3
12
+// Boolean b = false;
13
+// constant Integer n = 2;
14
+// Boolean vecB[1,1];
15
+// Boolean vecB[2,1];
16
+// equation
17
+// vecB = {{true}, {b}};
18
+// end Matrix3;
19
+// endResult
0 commit comments