Skip to content

Instantly share code, notes, and snippets.

@sjoelund
Created January 20, 2020 09:54
Show Gist options
  • Save sjoelund/855060a207519cdcf2c596ed254667ca to your computer and use it in GitHub Desktop.
Save sjoelund/855060a207519cdcf2c596ed254667ca to your computer and use it in GitHub Desktop.
record R2
Integer i[:];
end R2;
record R
R2 r;
end R;
function f
output R2 r;
algorithm
r := R2({1});
end f;
model M
R r = R(f());
end M;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment