JuliaLogging / ProgressLogging.jl

MIT License
50 stars 8 forks source link

Triangular `for` loop doesn't work #28

Open ericphanson opened 4 years ago

ericphanson commented 4 years ago

For example,

using LinearAlgebra, ProgressLogging
function test_progress(n)
    s = zeros(Int, n,n)
    @progress for i = 1:n, j = 1:i
        s[i,j] = i+j
    end
    return Symmetric(s)
end

works without the @progress.