From 8db19c90d97fe46e1ba25def8e99fe2afa0deb7a Mon Sep 17 00:00:00 2001 From: lkdvos Date: Tue, 28 Nov 2023 08:46:24 +0100 Subject: [PATCH] Remove new syntax --- src/caching.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/caching.jl b/src/caching.jl index be1c2eb..55bbaea 100644 --- a/src/caching.jl +++ b/src/caching.jl @@ -141,7 +141,7 @@ Populate the CGC cache for ``SU(N)`` with eltype `T` with all CGCs with Dynkin l See also: [`sync_disk_cache`](@ref) """ function precompute_disk_cache(N, a_max::Int=3, T::Type{<:Number}=Float64) - all_dynkinlabels = CartesianIndices(ntuple(Returns(a_max + 1), N - 1)) + all_dynkinlabels = CartesianIndices(ntuple(_ -> (a_max + 1), N - 1)) @sync begin for I₁ in all_dynkinlabels s1 = SUNIrrep(reverse(cumsum(I₁.I .- 1))..., 0)