Repository navigation
Smaller cleanups #12
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
Open
borisdevos
wants to merge
24
commits into
main
Choose a base branch
from
bd/cleanup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Smaller cleanups #12
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
f4c3a20
remove TK from project.toml
borisdevos 89a7286
add TK as weakdep
borisdevos 817fac3
fix bounds in constructor
borisdevos b00fcfa
clearer domain errors
borisdevos d9c2354
iterate over sector values row-major to match isless
borisdevos 3fcb4ac
proper Nsymbol column check
borisdevos 36e3786
correctly search for units, allow to error on time
borisdevos b57c798
fix ranges of dual calculations
borisdevos 10fbfed
add unitstyle, make allunits allocate less and have isunit not build …
borisdevos d7a6c69
return number of objects matrix in dual cache, allowing easier counti…
borisdevos b348ba1
remove duplicate convert
borisdevos 8743fe5
fix not knowing size at compile time
borisdevos d09aaa2
fix seed for test reproducibility, add constructor test
borisdevos b44ea5d
be exhaustive with unitarity checks
borisdevos 52ada8a
test duals more rigorously
borisdevos 4b7b94e
clean up readme where possible
borisdevos 2fa08af
remove allocations in Fsymbol call
borisdevos 939ac59
final test cleanup
borisdevos 83a2920
oopsie
borisdevos 0efa99e
make random sampling random at least
borisdevos 866a629
change pkgeval link (doesn't matter for now)
borisdevos 49f46ba
column check for Fsymbol.txt as well
borisdevos 408eb9a
tiny unit label refactor
borisdevos 4e4312c
remove overloading size, replace with rank
borisdevos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this a weakdep? That category is typically for package extensions, which I don't think we are defining here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a shot in the dark to see if this is allowed, but I want to give a compat bound to TensorKit without it being a dep, so I thought it should be a weakdep. First of all, am I allowed to compat bound a downstream package like this, and if so how should I do it? Otherwise I'll just drop it, since I explicitly mention this bound in the docs so it's at least somewhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I see now. I think this is a bit uncommon indeed, to place a compat on a package that we do not depend on. I understand you want to avoid people attempting to use this with older TensorKit versions, but I think most of them are already excluded through the TensorKitSectors compat as well, so I'd just drop it