From 2844bdcdb0072c065ed7368aebb1db0918b6ee70 Mon Sep 17 00:00:00 2001 From: Michael Reed <18372368+chakravala@users.noreply.github.com> Date: Fri, 26 Jul 2024 12:35:43 -0400 Subject: [PATCH] fixed rare dispatch issue --- src/parity.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parity.jl b/src/parity.jl index 6174714..4399bf7 100644 --- a/src/parity.jl +++ b/src/parity.jl @@ -416,7 +416,7 @@ for par ∈ (:conformal,:regressive,:interior) end @inbounds !haskey($extra[N][S][m1],s) && push!($extra[N][S][m1],s=>Dict{UInt,Dict{UInt,$T}}()) @inbounds !haskey($extra[N][S][m1][s],a) && push!($extra[N][S][m1][s],a=>Dict{UInt,$T}()) - @inbounds !haskey($extra[N][S][m1][s][a],b) && push!($extra[N][S][m1][s][a],b=>$calc(V,a,b)) + @inbounds !haskey($extra[N][S][m1][s][a],b) && push!($extra[N][S][m1][s][a],b=>$calc(M,a,b)) @inbounds $extra[N][S][m1][s][a][b] elseif n==0 $calc(V,a,b) @@ -436,7 +436,7 @@ for par ∈ (:conformal,:regressive,:interior) @inbounds push!($cache[n][S][m1][s],$T[]) end @inbounds for k ∈ length($cache[n][S][m1][s][a1]):b - @inbounds push!($cache[n][S][m1][s][a1],$calc(V,a,k)) + @inbounds push!($cache[n][S][m1][s][a1],$calc(M,a,k)) end @inbounds $cache[n][S][m1][s][a1][b+1] end