I accidentally downloaded version 1.1.0-DEV.699 , and I think I discovered a bug with sparse arrays. So (a) is this a bug, (b) is it known by the developers, and © if so, where do I report it. (and (d), and I am the correct page of this forum(
What happens is for simplest of array operations, array addition, I get an “invalid array dimensions” error, even though all array dimensions seem correct; and it depends on the array size.
using Printf using SparseArrays function test(ssize) M1 = spzeros(ssize, ssize) M2 = spzeros(ssize, ssize) @printf("size(M1) = %s\n", size(M1)) @printf("size(M2) = %s\n", size(M2)) V = M1 + M2 @printf("size(V) = %s\n", size(V)) end test(65679) # passes test(63999) # fails #test(110233) # fails
$ julia stest2.jl size(M1) = (65679, 65679) size(M2) = (65679, 65679) size(V) = (65679, 65679) size(M1) = (63999, 63999) size(M2) = (63999, 63999) ERROR: LoadError: invalid Array dimensions