Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BlockSparseArrays] Fix nstored and norm(NaN) #1565

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

ogauthe
Copy link
Contributor

@ogauthe ogauthe commented Nov 5, 2024

This PR fixes and tests for 2 small issues with BlockSparseArrays.

  • fix crash for norm(BlockSparseArrays that includes NaN.
  • fix SparseArrayInterface.nstored to return correct number of blocks
  • also uses SymmetrySectors version of U1 in tests

@mtfishman
Copy link
Member

Great, thanks!

@mtfishman
Copy link
Member

@ogauthe this looks good to me, ready to merge from your end?

@mtfishman mtfishman merged commit ebde621 into ITensor:main Nov 5, 2024
12 checks passed
@mtfishman mtfishman changed the title [NDTensors][BlockSparseArrays] fix nstored and norm(NaN) [BlockSparseArrays] Fix nstored and norm(NaN) Nov 5, 2024
@ogauthe ogauthe deleted the BlockSparseArray branch November 5, 2024 23:49
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