Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit b082e74

Browse files
sjoelundOpenModelica-Hudson
authored andcommitted
[NF] Fix type of matrix-vector multiply
Belonging to [master]: - #2232
1 parent 4835303 commit b082e74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/NFFrontEnd/NFTypeCheck.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ algorithm
242242
algorithm
243243
valid := Dimension.isEqual(dim12, dim21);
244244
then
245-
(Type.ARRAY(resultType, {dim12}), Op.MUL_MATRIX_VECTOR);
245+
(Type.ARRAY(resultType, {dim11}), Op.MUL_MATRIX_VECTOR);
246246

247247
// matrix[n, m] * matrix[m, p] = vector[n, p]
248248
case ({dim11, dim12}, {dim21, dim22})

0 commit comments

Comments
 (0)