Skip to content

Commit 17556ac

Browse files
committed
name change
1 parent 1b4580b commit 17556ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LinearAlgebras/linearalgebra_D.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3269,13 +3269,13 @@ end
32693269
=#
32703270

32713271
function partial_trace(C::LatticeMatrix{D,T1,AT1,NC1,NC2,nw,DI}, μ::Int, position::Int=1) where {D,T1,AT1,NC1,NC2,nw,DI}
3272-
s = JACC.parallel_reduce(prod(C.PN), +, kernel_partial_trace_4D, C.A, NC1, C.indexer, μ, position, Val(nw); init=zero(eltype(C.A)))
3272+
s = JACC.parallel_reduce(prod(C.PN), +, kernel_partial_trace_D, C.A, NC1, C.indexer, μ, position, Val(nw); init=zero(eltype(C.A)))
32733273
s = MPI.Allreduce(s, MPI.SUM, C.comm)
32743274
return s
32753275
end
32763276
export partial_trace
32773277

3278-
@inline function kernel_partial_trace_4D(i, A, NC, dindexer, μ, position, ::Val{nw}) where nw
3278+
@inline function kernel_partial_trace_D(i, A, NC, dindexer, μ, position, ::Val{nw}) where nw
32793279
indices = delinearize(dindexer, i, nw)
32803280

32813281

0 commit comments

Comments
 (0)