Closed chuffa closed 4 years ago
Dear @chuffa,
The syntax delta << dup
should already work now.
I have tried your example and it works for me using triqs@2.2.x
I have further fixed the g[:] = ...
syntax and added a test in ddb1f8b.
These changes are available on triqs/unstable.
Oh... that's weird, you are right most of them actually work. I made sure they don't do what I expect, but that does not help much when my expectations are wrong from the start ...
Sorry about that.
@chuffa can we close this?
I am currently trying to symmetrize a Block Green's function, where the symmetrization is a little more complicated than just up-down. In failing to do so for quite some time, I realized that the access and modification of Greens functions are in my opinion very unintuitive when paired with iteration over the blocks (see example below). Most possibilities of how to modify a Green's function I could come up with do not work and it is very unclear to me why this is the case.
I also compared to numpy arrays and dicts and found that most of what is so unintuitive work with these objects.