File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ import CodegenUtil.*;
77
88
99
10-
10+
11+
1112
1213
1314template translateModel(SimCode simCode, Boolean useFlatArrayNotation) ::=
@@ -11626,7 +11627,7 @@ match matrixname
1162611627 case "A" then
1162711628 let indexrows = ( indexes |> indexrow hasindex index0 =>
1162811629 <<
11629- i = _<%matrixname%>_sparsePattern_leadindex[<%crefWithoutIndexOperator(indexrow )%>$pDER<%matrixname%>$indexdiff] - <%listLength(indexes)%>;
11630+ i = _<%matrixname%>_sparsePattern_leadindex[<%crefWithoutIndexOperator(cref )%>$pDER<%matrixname%>$indexdiff] - <%listLength(indexes)%>;
1163011631 _<%matrixname%>_sparsePattern_index[i+<%index0%>] = <%crefWithoutIndexOperator(indexrow)%>$pDER<%matrixname%>$indexdiffed;
1163111632 >>
1163211633 ;separator="\n")
You can’t perform that action at this time.
0 commit comments