mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 19:23:45 +01:00
Correction of last correction....
The construction from c++ should *not* be changed...
This commit is contained in:
parent
1adf10429f
commit
758c07c87c
@ -33,5 +33,5 @@ cdef class MeshImTime:
|
||||
# C -> Python
|
||||
cdef inline make_MeshImTime ( mesh_imtime x) :
|
||||
return MeshImTime( x.domain().beta, 'F' if x.domain().statistic==Fermion else 'B',
|
||||
x.size(), x.kind() )
|
||||
x.size(), {half_bins: 'H', full_bins: 'F', without_last: 'W'}[x.kind()] )
|
||||
|
||||
|
@ -30,5 +30,5 @@ cdef class MeshReFreq:
|
||||
|
||||
# C -> Python
|
||||
cdef inline make_MeshReFreq ( mesh_refreq x) :
|
||||
return MeshReFreq( x.x_min(), x.x_max(), x.size(), x.kind() )
|
||||
return MeshReFreq( x.x_min(), x.x_max(), x.size(), {half_bins: 'H', full_bins: 'F', without_last: 'W'}[x.kind()] )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user