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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2259, Wed Mar 6 18:01:02 2013 UTC revision 2821, Sun Nov 9 02:34:48 2014 UTC
# Line 3  Line 3 
3  // This program tests the slicing syntax, but fails with  // This program tests the slicing syntax, but fails with
4  //  //
5  //   ../bin/diderotc --log bug007.diderot  //   ../bin/diderotc --log bug007.diderot
6  //   error converting Slice<tensor[2,3],:_>  //   uncaught exception Fail [Fail: unknown or incorrect operator Slice<tensor[2,3],:_>]
 //   uncaught exception Fail [Fail: FIXME: Slice]  
7  //     raised at common/phase-timer.sml:76.50-76.52  //     raised at common/phase-timer.sml:76.50-76.52
8  //     raised at common/phase-timer.sml:76.50-76.52  //     raised at common/phase-timer.sml:76.50-76.52
9  //     raised at high-to-mid/high-to-mid.sml:297.85-297.87  //     raised at c-util/tree-to-c.sml:281.26-283.19
 //     raised at high-to-mid/high-to-mid.sml:251.41-251.60  
10    
11  tensor[2,3] x = [[0.0, 0.1, 0.2], [1.0, 1.1, 2.1]];  tensor[2,3] x = [[0.0, 0.1, 0.2], [1.0, 1.1, 2.1]];
12  tensor[3] y = x[1,:];  tensor[3] y = x[1,:];
# Line 19  Line 17 
17    
18  strand S ()  strand S ()
19  {  {
20      output real dummy = 0.0;      output real dummy = s + a;
21      update { stabilize; }      update { stabilize; }
22  }  }
23    

Legend:
Removed from v.2259  
changed lines
  Added in v.2821

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