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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2259 - (view) (download)

1 : jhr 2166 // bug007.diderot
2 :     //
3 :     // This program tests the slicing syntax, but fails with
4 :     //
5 :     // ../bin/diderotc --log bug007.diderot
6 : jhr 2193 // error converting Slice<tensor[2,3],:_>
7 :     // uncaught exception Fail [Fail: FIXME: Slice]
8 :     // raised at common/phase-timer.sml:76.50-76.52
9 :     // raised at common/phase-timer.sml:76.50-76.52
10 :     // raised at high-to-mid/high-to-mid.sml:297.85-297.87
11 :     // raised at high-to-mid/high-to-mid.sml:251.41-251.60
12 : jhr 2166
13 :     tensor[2,3] x = [[0.0, 0.1, 0.2], [1.0, 1.1, 2.1]];
14 :     tensor[3] y = x[1,:];
15 :     tensor[2] z = x[:,0];
16 :     tensor[3,2] m = [x[:,0], x[:,1], x[:,2]];
17 :     real s = m[1, 0];
18 :     real a = m:m + x:x;
19 :    
20 :     strand S ()
21 :     {
22 :     output real dummy = 0.0;
23 :     update { stabilize; }
24 :     }
25 :    
26 :     initially { S() | i in 1..2 };

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