Bobbo is confused or the compiler gens crummy code
|
|
Bugzilla Link |
88 |
Created on |
Jun 22, 2005 17:45 |
Resolution |
WONTFIX |
Resolved on |
Jun 27, 2005 12:01 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Attachments |
reduce.sac |
Extended Description
The attached reduce.sac gets a seg fault, apparently in the FirstAxisReduce code.
I am suspicious of my understanding of that function and its friend, fold.
Several questions:
1.Is tensor[iv] restricted to produce a scalar result, or does it have the
same semantics as "psel"? If the former, then the seg fault may be explainable.
2. I can't seem to get at psel in the ArrayBasics module. I've tried it with
and without #define SCALAR_SEL, with no luck. Feeling stupid today.