TRIQS / triqs

a Toolbox for Research on Interacting Quantum Systems
https://triqs.github.io
GNU General Public License v3.0
139 stars 72 forks source link

[gf] add array_priority also to BlockGf / Block2Gf #890

Closed the-hampel closed 1 year ago

the-hampel commented 1 year ago

multiplication of type numpy array * BlockGf was broken because ladd operation of numpy was priorized over the triqs implementation. Adding the numpy array_priority attribute solves this. Compare with Gf class implementation.

Wentzell commented 1 year ago

Merged in 0bb7b1489