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

SCM Repository

[diderot] View of /branches/vis12/bugs/open/bug029.diderot
ViewVC logotype

View of /branches/vis12/bugs/open/bug029.diderot

Parent Directory Parent Directory | Revision Log Revision Log

Revision 2336 - (download) (annotate)
Thu Apr 4 16:30:16 2013 UTC (8 years, 9 months ago) by glk
File size: 409 byte(s)
and another
strand foo (real a) {
  output real bar = 0;
  update {
    vec2 vv = [a,2*a];
    tensor[2,2] mm = [vv,2*vv];
    // BUG: printing a tensor valued expression should give you something that
    // can be copy-pasted back in as a tensor-value (replace "<>" with "[]")
    print(vv, "\n");
    // BUG: printing tensor[2,2] doesn't work
    print(mm, "\n");
initially {foo(i) | i in 1..1};

ViewVC Help
Powered by ViewVC 1.0.0