Skip to content

Commit

Permalink
Update nfinst tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost authored and OpenModelica-Hudson committed Jan 17, 2018
1 parent c265dda commit 627e124
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions flattening/modelica/scodeinst/FuncBuiltinFill.mo
Expand Up @@ -26,7 +26,7 @@ end FuncBuiltinFill;
// Real y[2,3,1];
// Real y[2,4,1];
// equation
// x = /*Real[4]*/(fill(1, 4));
// y = fill(3.14, 2, 4, 1);
// x = {1.0, 1.0, 1.0, 1.0};
// y = {{{3.14}, {3.14}, {3.14}, {3.14}}, {{3.14}, {3.14}, {3.14}, {3.14}}};
// end FuncBuiltinFill;
// endResult
2 changes: 1 addition & 1 deletion flattening/modelica/scodeinst/FuncBuiltinIdentity.mo
Expand Up @@ -22,6 +22,6 @@ end FuncBuiltinIdentity;
// Real x[3,2];
// Real x[3,3];
// equation
// x = /*Real[arraySize, arraySize]*/(identity(3));
// x = /*Real[3, 3]*/(identity(3));
// end FuncBuiltinIdentity;
// endResult
4 changes: 2 additions & 2 deletions flattening/modelica/scodeinst/FuncBuiltinOnes.mo
Expand Up @@ -25,7 +25,7 @@ end FuncBuiltinOnes;
// Real y[4,1];
// Real y[4,2];
// equation
// x = /*Real[3]*/(ones(3));
// y = /*Real[4, 2]*/(ones(4, 2));
// x = {1.0, 1.0, 1.0};
// y = {{1.0, 1.0}, {1.0, 1.0}, {1.0, 1.0}, {1.0, 1.0}};
// end FuncBuiltinOnes;
// endResult
4 changes: 2 additions & 2 deletions flattening/modelica/scodeinst/FuncBuiltinZeros.mo
Expand Up @@ -25,7 +25,7 @@ end FuncBuiltinZeros;
// Real y[4,1];
// Real y[4,2];
// equation
// x = /*Real[3]*/(zeros(3));
// y = /*Real[4, 2]*/(zeros(4, 2));
// x = {0.0, 0.0, 0.0};
// y = {{0.0, 0.0}, {0.0, 0.0}, {0.0, 0.0}, {0.0, 0.0}};
// end FuncBuiltinZeros;
// endResult

0 comments on commit 627e124

Please sign in to comment.