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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2336 - (view) (download)

1 : glk 2336
2 :     strand foo (real a) {
3 :     output real bar = 0;
4 :     update {
5 :     vec2 vv = [a,2*a];
6 :     tensor[2,2] mm = [vv,2*vv];
7 :     // BUG: printing a tensor valued expression should give you something that
8 :     // can be copy-pasted back in as a tensor-value (replace "<>" with "[]")
9 :     print(vv, "\n");
10 :     // BUG: printing tensor[2,2] doesn't work
11 :     print(mm, "\n");
12 :     stabilize;
13 :     }
14 :     }
15 :     initially {foo(i) | i in 1..1};

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