From 324867caa89aed7cfdad4ca51c7216143b1adf5a Mon Sep 17 00:00:00 2001 From: Alexander Barth Date: Fri, 25 Oct 2024 16:58:17 +0200 Subject: [PATCH] display warning only once (#202) --- src/chunks.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chunks.jl b/src/chunks.jl index 80befd8..9755e74 100644 --- a/src/chunks.jl +++ b/src/chunks.jl @@ -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