Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FusionTensors"
uuid = "e16ca583-1f51-4df0-8e12-57d32947d33e"
authors = ["ITensor developers <[email protected]> and contributors"]
version = "0.5.4"
version = "0.5.5"

[deps]
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"
Expand Down
6 changes: 3 additions & 3 deletions src/permutedims/permutedims.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ function fusiontensor_permutedims!(ftdst, ftsrc, biperm::AbstractBlockPermutatio
return ftdst
end
end
return permute_data!(SymmetryStyle(ftdst), ftdst, ftsrc, Tuple(biperm))
return _fusiontensor_permutedims!(SymmetryStyle(ftdst), ftdst, ftsrc, Tuple(biperm))
end

# =============================== Internal =============================================
function permute_data!(::AbelianStyle, ftdst, ftsrc, flatperm)
function _fusiontensor_permutedims!(::AbelianStyle, ftdst, ftsrc, flatperm)
# abelian case: all unitary blocks are 1x1 identity matrices
# compute_unitary is only called to get block positions
unitary = compute_unitary(ftdst, ftsrc, flatperm)
Expand All @@ -65,7 +65,7 @@ function permute_data!(::AbelianStyle, ftdst, ftsrc, flatperm)
return ftdst
end

function permute_data!(::NotAbelianStyle, ftdst, ftsrc, flatperm)
function _fusiontensor_permutedims!(::NotAbelianStyle, ftdst, ftsrc, flatperm)
foreach(m -> fill!(m, zero(eltype(ftdst))), eachstoredblock(data_matrix(ftdst)))
unitary = compute_unitary(ftdst, ftsrc, flatperm)
for ((old_trees, new_trees), coeff) in unitary
Expand Down
Loading