Skip to content

Commit

Permalink
Do not dump full arrays into debug messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
orenbenkiki committed Apr 7, 2024
1 parent 3d5c097 commit c9b2bd6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.10.2"
manifest_format = "2.0"
project_hash = "8e03bb75bf6f51f8955793f4a225b42fdf673d0d"
project_hash = "d2b6258cc4c7c5fd14b9a90a37668c87421b80b3"

[[deps.ArgTools]]
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
Expand Down Expand Up @@ -296,9 +296,9 @@ version = "10.1.4+2"

[[deps.Missings]]
deps = ["DataAPI"]
git-tree-sha1 = "f66bdc5de519e8f8ae43bdc598782d35a25b1272"
git-tree-sha1 = "ec4f7fbeab05d7747bdf98eb74d130a2a2ed298d"
uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28"
version = "1.1.0"
version = "1.2.0"

[[deps.Mmap]]
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
Expand Down
2 changes: 1 addition & 1 deletion docs/v0.1.0/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-04-07T10:13:52","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-04-07T18:07:22","documenter_version":"1.3.0"}}
8 changes: 4 additions & 4 deletions src/writers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function filled_empty_dense_vector!(
::AbstractString,
filled_vector::AbstractVector{T},
)::Nothing where {T <: StorageNumber}
@debug "empty_dense_vector! filled vector: $(filled_vector) }"
@debug "empty_dense_vector! filled vector: $(depict(filled_vector)) }"
return nothing
end

Expand Down Expand Up @@ -453,7 +453,7 @@ function filled_empty_sparse_vector!(
)::Nothing where {T <: StorageNumber, I <: StorageInteger}
filled = SparseVector(axis_length(daf, axis), nzind, nzval)
Formats.format_filled_sparse_vector!(daf, axis, name, extra, filled)
@debug "empty_sparse_vector! filled vector: $(filled) }"
@debug "empty_sparse_vector! filled vector: $(depict(filled)) }"
return nothing
end

Expand Down Expand Up @@ -653,7 +653,7 @@ function filled_empty_dense_matrix!(
::AbstractString,
filled_matrix::AbstractMatrix{T},
)::Nothing where {T <: StorageNumber}
@debug "empty_dense_matrix! filled matrix: $(filled_matrix) }"
@debug "empty_dense_matrix! filled matrix: $(depict(filled_matrix)) }"
return nothing
end

Expand Down Expand Up @@ -762,7 +762,7 @@ function filled_empty_sparse_matrix!(
)::Nothing where {T <: StorageNumber, I <: StorageInteger}
filled = SparseMatrixCSC(axis_length(daf, rows_axis), axis_length(daf, columns_axis), colptr, rowval, nzval)
Formats.format_filled_sparse_matrix!(daf, rows_axis, columns_axis, name, extra, filled)
@debug "empty_sparse_matrix! filled matrix: $(filled) }"
@debug "empty_sparse_matrix! filled matrix: $(depict(filled)) }"
return nothing
end

Expand Down

0 comments on commit c9b2bd6

Please sign in to comment.