Closed Crampon16 closed 1 year ago
Dear @Crampon16, this is indeed a problem I would say. I don't see why this would be the desired behavior to overwrite the block gf with a different mesh. The problem is also existent in TRIQS 3.1.x and on the current unstable branch.
Fixed by d64d76754
Description
When two Green's functions are defined by block (e.g. "up", "dn") and have different temperatures, assigning the content of one to the other does not raise an exception.
Steps to Reproduce
Expected behavior: an Assertion Error because of mesh compatibility is raised
Actual behavior:
G2
's data is copied toG1
, (without altering the original mesh's temperature).Versions
I am using MacOS Mojave v 10.14.6, and have also been able to reproduce on various Ubuntus.
Additional Information
Jupyter notebook to quickly reproduce the error: bug_no_beta_check.ipynb.zip