[Issue 5035] Schrödinger's Stride
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 10 15:05:14 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5035
--- Comment #1 from Tomasz Sowiński <tomeksowi at gmail.com> 2010-10-10 15:04:46 PDT ---
Please also see to that this passes:
auto m = [1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4]; // 3 rows, 4 columns
auto col = stride(m[1..$], 4);
assert(equal(col, [2, 2, 2]));
assert(equal(retro(col), [2, 2, 2])); // now explodes
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list