Skip to content

Commit 25da7b0

Browse files
authored
DArray: Fix broken indexing caching
Fixes `DArray`s showing old values or values from other `DArray`s I'll implement a more robust caching system to replace this with.
1 parent 4cb4a36 commit 25da7b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/array/darray.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ function Base.show(io::IO, ::MIME"text/plain", A::DArray{T,N}) where {T,N}
270270
printstyled(io, "~$(round(Int, pct_complete))% completed"; color=:yellow)
271271
end
272272
println(io)
273-
with_index_caching(1) do
273+
# FIXME: with_index_caching(1) do
274274
Base.print_array(IOContext(io, :compact=>true), ColorArray(A))
275-
end
275+
# end
276276
end
277277

278278
function (==)(x::ArrayOp, y::ArrayOp)

0 commit comments

Comments
 (0)