Conversation
Codecov Report❌ Patch coverage is
... and 13 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
Let me continue on this PR, there are some more inconsistencies in how |
|
Upon some consideration, I think it is actually easier to remove the |
|
That's definitely also okay for me |
|
Ok, this is a first set of changes. It makes the |
|
Remains to be done: the |
|
Ok, I finally found the time to complete this. I hope the tests pass. Then this is ready for a review @lkdvos . |
lkdvos
left a comment
There was a problem hiding this comment.
I think I only have a small comment about some aesthetics, otherwise I think this looks good, thanks!
Co-authored-by: Lukas Devos <ldevos98@gmail.com> Co-authored-by: Jutho <Jutho@users.noreply.github.com>
|
(I can't approve this because I started the PR, so will need approval from someone else) |
|
Tests seem to be failing so don't merge; I'll have to look at it. |
|
I might have found the fix :) |
|
Tests failures on AMD seem unrelated, so will just merge as-is. |
| ΔV₁ = zero(V) | ||
| ΔV₁[:, indV] = ΔV |
There was a problem hiding this comment.
I would still like to keep some of the old behaviour, so maybe this is a compromise
| ΔV₁ = zero(V) | |
| ΔV₁[:, indV] = ΔV | |
| if indV == 1:p | |
| ΔV₁ = copy(ΔV) | |
| else | |
| ΔV₁ = zero(V) | |
| ΔV₁[:, indV] .= ΔV | |
| end |
| ΔV₁ = zero(V) | ||
| ΔV₁[:, indV] = ΔV |
There was a problem hiding this comment.
Same:
| ΔV₁ = zero(V) | |
| ΔV₁[:, indV] = ΔV | |
| if indV == 1:p | |
| ΔV₁ = copy(ΔV) | |
| else | |
| ΔV₁ = zero(V) | |
| ΔV₁[:, indV] .= ΔV | |
| end |
There was a problem hiding this comment.
Oh, I only now noticed this is merged already.
Bumped into this while trying to port this over to TensorKit:
Other parts of the code use
ind = Colon()as default, and then first takeindV = axes(V, 2)[ind]before doing the check of the length (length(ind)fails ifind = Colon()).Here I just did the same.
I checked for the SVD gauge removal and was surprised that there is no
indargument there, @Jutho is this meant to be like this?