mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 05:43:40 +01:00
gfs, matsubara: correct unary - for matsubara_freq
- The unary - of matsubara_freq was not correct ... missing () around the ==
This commit is contained in:
parent
eda6eb90a2
commit
9f0915acb6
@ -59,7 +59,7 @@ namespace gfs {
|
||||
}
|
||||
|
||||
inline matsubara_freq operator-(matsubara_freq const &mp) {
|
||||
return {-(mp.n + mp.statistic == Fermion ? 1 : 0), mp.beta, mp.statistic};
|
||||
return {-(mp.n + (mp.statistic == Fermion ? 1 : 0)), mp.beta, mp.statistic};
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user