From 0fc5df48622e97a16a796b712de9a09ef8c3db6d Mon Sep 17 00:00:00 2001 From: Rafael Schouten Date: Fri, 6 Dec 2024 16:58:15 +0100 Subject: [PATCH] bufgix_modify_params --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 31001f7c5..8c9f5cb43 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -88,7 +88,7 @@ function modify end modify(f, s::AbstractDimStack) = maplayers(a -> modify(f, a), s) # Stack optimisation to avoid compilation to build all the `AbstractDimArray` # layers, and instead just modify the parent data directly. -modify(f, s::AbstractDimStack{<:Any,<:NamedTuple}) = +modify(f, s::AbstractDimStack{<:Any,<:Any,<:NamedTuple}) = rebuild(s; data=map(a -> modify(f, a), parent(s))) function modify(f, A::AbstractDimArray) newdata = f(parent(A))