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

SCM Repository

[diderot] Diff of /branches/vis15/src/tests/new-tests/slice-test.diderot
ViewVC logotype

Diff of /branches/vis15/src/tests/new-tests/slice-test.diderot

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

revision 3997, Sun Jun 19 15:55:49 2016 UTC revision 4099, Wed Jun 29 18:17:50 2016 UTC
# Line 5  Line 5 
5  tensor[3,3] M = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ];  tensor[3,3] M = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ];
6  int g1 = 42;  int g1 = 42;
7  int g2 = g1 + 1;  int g2 = g1 + 1;
8    function bool foo (int x, int y)
9    {
10      if (x < y) { return false; } else { int z = x+y; if (z < 0) {return false;} }
11      return true;
12    }
13    
14  {  {
15    print ("M = ", M, "\n");    print ("M = ", M, "\n");

Legend:
Removed from v.3997  
changed lines
  Added in v.4099

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