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

SCM Repository

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

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

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

revision 2543, Sun Feb 16 18:18:58 2014 UTC revision 2544, Fri Feb 21 14:11:16 2014 UTC
# Line 1  Line 1 
   
   
1  /*  /*
2    BUG: vector expressions like "[1.2, 2.3]/2" are allowed for    BUG: vector expressions like "[1.2, 2.3]/2" are allowed for
3    initializing non-input global variables, but not for    initializing non-input global variables, but not for
# Line 10  Line 8 
8    
9  input vec2 incrA = [1.2, 2.3]/2;  input vec2 incrA = [1.2, 2.3]/2;
10  input vec2 incrB = [0.2/2, 0.3/2];  input vec2 incrB = [0.2/2, 0.3/2];
11    /* Note: the following are allowed:
12    input vec2 incrA = [0.6, 1.15];
13    input vec2 incrB = [0.1, 0.15];
14    
15    The issue here is not vector expressions, but the use of "/" in input initialization.
16    */
17    
18  strand foo (int ii) {  strand foo (int ii) {
19      vec2 tmp = [0.2,0.3]/2;      vec2 tmp = [0.2,0.3]/2;

Legend:
Removed from v.2543  
changed lines
  Added in v.2544

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