Skip to content

Commit da65a0b

Browse files
committed
rename permute_data!
1 parent 652235f commit da65a0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "FusionTensors"
22
uuid = "e16ca583-1f51-4df0-8e12-57d32947d33e"
33
authors = ["ITensor developers <[email protected]> and contributors"]
4-
version = "0.5.4"
4+
version = "0.5.5"
55

66
[deps]
77
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"

src/permutedims/permutedims.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function fusiontensor_permutedims!(ftdst, ftsrc, biperm::AbstractBlockPermutatio
5353
end
5454

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

68-
function permute_data!(::NotAbelianStyle, ftdst, ftsrc, flatperm)
68+
function _fusiontensor_permutedims!(::NotAbelianStyle, ftdst, ftsrc, flatperm)
6969
foreach(m -> fill!(m, zero(eltype(ftdst))), eachstoredblock(data_matrix(ftdst)))
7070
unitary = compute_unitary(ftdst, ftsrc, flatperm)
7171
for ((old_trees, new_trees), coeff) in unitary

0 commit comments

Comments
 (0)