UTIndexSet failure: loop variable "arr_a" is being used inconsistently
Bugzilla Link | 610 |
Created on | Nov 26, 2009 22:50 |
Version | svn |
OS | Linux |
Architecture | PC |
Attachments | crud.sac |
Extended Description
Developer rev 16638 dies with above message on this code: use Array : all; int main() { A_351=iota( 6); M2_4=_reshape_VxA_([2, 3],A_351); A_354=rotrXII( M2_4); M2_5=indsxx(M2_4,A_354); A_360=_reshape_VxA_([2, 3],[2, 1, 0, 5, 4, 3]); z= match(M2_5, A_360); StdIO::print(z); return(0); } inline int[+] indsxx(int[+] X, int[+] Y) { /* X[;;nonscalarI;;;]1 */ cellshape = take([-1], shape(y)); frameshape = drop([-1],shape(y)); cell = genarray(cellshape, 0); z = with { ( . <= iv <= .) : reverse(y[iv]); } : genarray(frameshape, cell); return(z); }
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information