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 Dec 4, 2017
1 parent e2f94fe commit 5cf184a
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 = /*Real[4]*/(fill(1, 4));
// y = fill(3.14, 2, 4, 1);
// end FuncBuiltinFill;
// 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 = /*Real[3]*/(ones(3));
// y = /*Real[4, 2]*/(ones(4, 2));
// 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 = /*Real[3]*/(zeros(3));
// y = /*Real[4, 2]*/(zeros(4, 2));
// end FuncBuiltinZeros;
// endResult
2 changes: 1 addition & 1 deletion flattening/modelica/scodeinst/FuncUnknownDim2.mo
Expand Up @@ -20,7 +20,7 @@ end FuncUnknownDim2;
// input Integer n;
// output Real[:] x;
// algorithm
// x := /*Real[n]*/(ones({n}));
// x := /*Real[n]*/(ones(n));
// end f;
//
// class FuncUnknownDim2
Expand Down

0 comments on commit 5cf184a

Please sign in to comment.