Skip to content

Commit

Permalink
Bump hotfix version 0.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Aug 14, 2023
1 parent 7703e4b commit ea38b4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TensorKit"
uuid = "07d1fe3e-3e46-537d-9eac-e9e13d0d4cec"
authors = ["Jutho Haegeman"]
version = "0.11.0"
version = "0.11.1"

[deps]
HalfIntegers = "f0d1745a-41c9-11e9-1dd9-e5d34d218721"
Expand Down
8 changes: 4 additions & 4 deletions src/tensors/indexmanipulations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -326,19 +326,19 @@ function _add_general_kernel!(tdst, tsrc, p, fusiontreetransform, α, β, backen
elseif β != 1
tdst = scale!(tdst, β)
end

# TODO: implement multithreading for general symmetries
# Currently disable multithreading for general symmetries, requires more testing and
# possibly a different approach. Ideally, we'd loop over output blocks in parallel, to
# avoid parallel writing, but this requires the inverse of the fusiontreetransform.

for (f₁, f₂) in fusiontrees(tsrc)
for ((f₁′, f₂′), coeff) in fusiontreetransform(f₁, f₂)
TO.tensoradd!(tdst[f₁′, f₂′], p, tsrc[f₁, f₂], :N, α * coeff, true,
backend...)
end
end

# if Threads.nthreads() > 1
# Threads.@sync for s₁ in sectors(codomain(tsrc)), s₂ in sectors(domain(tsrc))
# _add_sectors!(tdst, tsrc, fusiontreemap, s₁, s₂, α, β, backend...)
Expand All @@ -351,7 +351,7 @@ function _add_general_kernel!(tdst, tsrc, p, fusiontreetransform, α, β, backen
# end
# end
# end

return nothing
end

Expand Down

2 comments on commit ea38b4b

@lkdvos
Copy link
Collaborator Author

@lkdvos lkdvos commented on ea38b4b Aug 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/89615

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.11.1 -m "<description of version>" ea38b4ba852f6afb602dea54e43912cf8c33970e
git push origin v0.11.1

Please sign in to comment.