Skip to content

Commit

Permalink
[NF] Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost authored and OpenModelica-Hudson committed May 7, 2018
1 parent 2377433 commit 2303444
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flattening/modelica/scodeinst/FuncBuiltinCross.mo
Expand Up @@ -16,6 +16,6 @@ end FuncBuiltinCross;
// Real x[2];
// Real x[3];
// equation
// x = cross({1.0, 2.0, 3.0}, {4.0, 5.0, 6.0});
// x = {2.0 * 6.0 - 3.0 * 5.0, 3.0 * 4.0 - 1.0 * 6.0, 1.0 * 5.0 - 2.0 * 4.0};
// end FuncBuiltinCross;
// endResult
2 changes: 1 addition & 1 deletion flattening/modelica/scodeinst/FuncBuiltinLinspace.mo
Expand Up @@ -18,6 +18,6 @@ end FuncBuiltinLinspace;
// Real x[4];
// Real x[5];
// equation
// x = linspace(2.0, 4.0, 5);
// x = array(2.0 + (4.0 - 2.0) * /*Real*/(i - 1) / /*Real*/(5 - 1) for i in 1:5);
// end FuncBuiltinLinspace;
// endResult
2 changes: 1 addition & 1 deletion flattening/modelica/scodeinst/FuncBuiltinOuterProduct.mo
Expand Up @@ -22,6 +22,6 @@ end FuncBuiltinOuterProduct;
// Real x[3,2];
// Real x[3,3];
// equation
// x = outerProduct({1.0, 2.0, 3.0}, {4.0, 5.0, 6.0});
// x = matrix({1.0, 2.0, 3.0}) * transpose(matrix({4.0, 5.0, 6.0}));
// end FuncBuiltinOuterProduct;
// endResult

0 comments on commit 2303444

Please sign in to comment.