| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Definitely okay with this change, but would you mind changing the @assert to throw(SpaceMismatch("spacetype of truncation strategy does not match spacetype of tensor")) (or a better worded message if you have inspiration, just quickly typed something here)
Sorry, something went wrong.
There was a problem hiding this comment.
(you are right, sectortype is more appropriate :))
Sorry, something went wrong.
* Update changelog for v0.16.4 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Bump version to v0.16.4 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Update CITATION.cff for v0.16.4 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * manual improvements of Changelog * amend changelog * delete compatcheck for failing julia 1 --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
This PR defines spacetype for TruncationSpace and adds a test that spacetype matches between the vector to truncate and the strategy (else it will crash with a hard to read error). I expect the check to be done at compile time without any consequence on assembly code.