Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /tests/vis12-bugs/src/bug029.diderot
ViewVC logotype

View of /tests/vis12-bugs/src/bug029.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (download) (annotate)
Tue Sep 27 20:54:47 2016 UTC (2 years, 10 months ago) by glk
File size: 576 byte(s)
initial result of svn export --username anonsvn --password=anonsvn https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/branches/vis15/src/tests/
strand foo (real a) {
  output real bar = 0;
  update {
    vec2 vv = [a,2*a];
    tensor[2,2] m22 = [vv,2*vv];
    tensor[2,3] m23 = [[0,1,2],[3,4,5]];
    tensor[3,2] m32 = [[0,1],[2,3],[4,5]];
    tensor[3,3] m33 = [[0,1,2],[3,4,5],[6,7,8]];

    // BUG: printing tensor[2,2] doesn't work
    print(m22, "\n");

    // BUG: printing tensor[2,3] doesn't work
    print(m23, "\n");

    // BUG: printing tensor[3,2] doesn't work
    print(m32, "\n");

    // BUG: printing tensor[3,3] doesn't work
    print(m33, "\n");

    stabilize;
  }
}
initially {foo(i) | i in 1..1};

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0