You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With wrong input to TBLattice one can provoke a Segmentation Fault. For a two orbital model if one not specifies orbital positions, or defines them wrong is not protected by an error message:
Also not giving a tuple in the hopping dictionary gives a hard segfault,
fromtriqs.lattice.tight_bindingimportTBLatticeH_r=TBLattice(
units=[(1, 0, 0)],
hoppings={
(0) : [[1.]] # Key is missing a comma and is not a tuple, using (0,) works.
},
)
> python test.py
Warning: could not identify MPI environment!
Starting serial run at: 2023-09-01 21:50:50.026024
zsh: segmentation fault python test.py
With wrong input to TBLattice one can provoke a Segmentation Fault. For a two orbital model if one not specifies orbital positions, or defines them wrong is not protected by an error message:
gives:
The text was updated successfully, but these errors were encountered: