-
Notifications
You must be signed in to change notification settings - Fork 125
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
[ITensors] [BUG] nnz methods duplicated with SparseArrays #1581
Comments
Thanks for pointing that out, that sounds right. We were changing over the style of our code to use explicit imports, probably this got messed up during that process. |
There's also |
Thanks for the heads up about that. I feel less comfortable overloading So in that case, I would recommend being explicit and qualifying the names with the modules, i.e. write |
Thanks!! |
Description of bug
I believe that the nnz function for ITensors.jl should extend the one from SparseArrays. But this doesn't happen.
Minimal code demonstrating the bug or unexpected behavior
This gives
Looking at the methods, it seems like this is probably an oversight:
Version information
versioninfo()
:using Pkg; Pkg.status("ITensors")
:The text was updated successfully, but these errors were encountered: