Skip to content

Commit

Permalink
display warning only once (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth authored Oct 25, 2024
1 parent 0dbb87f commit 324867c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chunks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function element_size(a::AbstractArray)
elseif isbitstype(Base.nonmissingtype(eltype(a)))
return sizeof(Base.nonmissingtype(eltype(a)))
else
@warn "Can not determine size of element type. Using DiskArrays.fallback_element_size[] = $(fallback_element_size[]) bytes"
@warn "Can not determine size of element type. Using DiskArrays.fallback_element_size[] = $(fallback_element_size[]) bytes" maxlog=1
return fallback_element_size[]
end
end
Expand Down

0 comments on commit 324867c

Please sign in to comment.