Skip to content

Commit

Permalink
simplex handles different sized array
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@743 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
henjo committed Mar 1, 2002
1 parent 8d3c705 commit 22156b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modeq/test_codegen/misc_simplex1.mo
@@ -1,10 +1,10 @@

function pivot1
input Real b[6,9];
input Real b[:,:];
input Integer p;
input Integer q;

output Real a[6,9];
output Real a[size(b,1),size(b,2)];

protected
Integer M;
Expand Down Expand Up @@ -42,16 +42,16 @@ end pivot1;

function misc_simplex1

input Real matr[6,9];
input Real matr[:,:];



output Real x[8];
output Real x[size(matr,2)-1];
output Real z;


protected
Real a[6,9];
Real a[size(matr,1),size(matr,2)];
Integer M;
Integer N;
output Integer q;
Expand Down

0 comments on commit 22156b7

Please sign in to comment.