Closed Roger-luo closed 3 years ago
From the tests:
greet = ["Hello", "world", "hang", "in", "there"]
greetsa = StrideArray(greet);
@test greetsa == greet
greetsa[1] = "howdy"
greetsa[5] = "there!"
@test greet[1] == "howdy"
@test greet[5] == "there!"
A = rand(ComplexF64, 4, 5);
Asa = StrideArray(A);
@test A == Asa
Asa[3,4] = 1234.5 + 678.9im;
@test A[3,4] == 1234.5 + 678.9im;
Also fixes the error you reported with Complex
numbers.
Note adjoints of complex arrays are still broken.
just to file an issue that will prob resolve https://github.com/chriselrod/StrideArrays.jl/issues/21 so that I can just depend on this package.