Skip to content

Commit 324867c

Browse files
display warning only once (#202)
1 parent 0dbb87f commit 324867c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chunks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ function element_size(a::AbstractArray)
351351
elseif isbitstype(Base.nonmissingtype(eltype(a)))
352352
return sizeof(Base.nonmissingtype(eltype(a)))
353353
else
354-
@warn "Can not determine size of element type. Using DiskArrays.fallback_element_size[] = $(fallback_element_size[]) bytes"
354+
@warn "Can not determine size of element type. Using DiskArrays.fallback_element_size[] = $(fallback_element_size[]) bytes" maxlog=1
355355
return fallback_element_size[]
356356
end
357357
end

0 commit comments

Comments
 (0)