subtle dispatch problem for modarray
Bugzilla Link | 189 |
Created on | Jan 13, 2006 21:38 |
Resolution | FIXED |
Resolved on | Jan 20, 2006 12:32 |
Version | 1.00beta |
OS | Linux |
Architecture | PC |
Attachments | UTExpand.sac |
Extended Description
The attached example kills sac2c with one of those grumpy, incomprehensible messages about types. If you look at the computation of shpz in bslBBB, you'll see an expression along the lines of: z=genarray (shape(x)++drop([1],shape(y)), false); If you replace this with: shpz = shape(y); shpz[0] = shape(x)[0]; z = genarray(shpz,false); that works. I don't understand why one approach works and the other does not.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information