SCM Repository
[diderot] Diff of /branches/vis12/bugs/open/bug019.diderot
Diff of /branches/vis12/bugs/open/bug019.diderot
Parent Directory
|
Revision Log
|
Patch
|
|
|
|
|
|
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 |
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 |
|
|