FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix `show` for empty tensors by lkdvos · Pull Request #329 · QuantumKitHub/TensorKit.jl · GitHub

Fix show for empty tensors - #329

Merged
Jutho merged 2 commits into
mainfrom
ld-showempty
Dec 15, 2025
Merged

Jutho merged 2 commits into
mainfrom
ld-showempty

Conversation

lkdvos commented Dec 14, 2025

Copy link
Copy Markdown
Member

Bumped into an edge case that caused a divide by zero error which I solved here by just clamping the number between 1-3. Also updated the tests.

lkdvos requested a review from Jutho December 14, 2025 03:27

codecov Bot commented Dec 14, 2025 •
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/tensors/blockiterator.jl 38.61% <100.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Jutho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

clamp is a function that never comes naturally to me 😄 .

Jutho merged commit 06d32b0 into main Dec 15, 2025
30 of 31 checks passed
Jutho deleted the ld-showempty branch December 15, 2025 10:01
lkdvos mentioned this pull request Feb 4, 2026
Jutho referenced this pull request Feb 6, 2026
* bump v0.16.1

* update changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL