Hi All,
I just came back to some linear algebra Chapel code after 10 months.
My brain is rusty/broken/hurting (choose one or more).
What is the difference between
for k in j+1..n
{
a[k][j] *= aijmax;
}
and
[k in j+1..n] a[k][j] *= aijmax;
and
a[j+1..n][j] *= aijmax;
The first two work. The last says
u.chpl:69: error: halt reached - array index out of bounds: (1)
where
var a : [1..3][1..3] real;
Regards - Damian
Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers