Skip to content

Pass spaces to spacecheck_transform for TensorKit v0.17.3 - #89

Merged
lkdvos merged 1 commit into
mainfrom
ld-spacecheck-spaces
Nov 1, 2026
Merged

lkdvos merged 1 commit into
mainfrom
ld-spacecheck-spaces

Conversation

@lkdvos

@lkdvos lkdvos commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

TensorKit v0.17.3 removed the method of spacecheck_transform that accepts tensors and forwards their spaces (QuantumKitHub/TensorKit.jl#570). The permute!, transpose! and braid! methods for block tensors still called it with tensors, so with TensorKit v0.17.3 every permute, transpose or braid of a BlockTensorMap or SparseBlockTensorMap throws a MethodError. This currently breaks MPSKit's GPU CI.

They now pass space(tdst) and space(tsrc). That method exists in v0.17.2 too, so the compat bound stays as it is. Locally the full test suite passes against TensorKit v0.17.3, and without this change permute and transpose of dense and sparse block tensors throw that error on the CPU as well.

🤖 Generated with Claude Code

TensorKit v0.17.3 removed the method of `spacecheck_transform` that takes
tensors, so permuting, transposing or braiding a block tensor threw a
MethodError. The method that takes spaces exists in v0.17.2 as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/tensors/indexmanipulations.jl 53.42% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lkdvos
lkdvos merged commit 07e7ff1 into main Nov 1, 2026
28 checks passed
@lkdvos
lkdvos deleted the ld-spacecheck-spaces branch November 1, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant