File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ This toolkit is currently under developement. **PLEASE USE IT AT YOUR OWN RISK!*
66
77## Version
88
9- v1.8.6-devel.240716
9+ v1.8.6-devel.240718
1010
1111## License
1212
Original file line number Diff line number Diff line change 44# Author : Li Huang (huangli@caep.cn)
55# Status : Unstable
66#
7- # Last modified: 2024/07/15
7+ # Last modified: 2024/07/18
88#
99
1010"""
@@ -443,10 +443,19 @@ function make_mesh(; T::DataType = F64)
443443 end
444444
445445 # Get essential parameters
446+ ktype = get_b (" ktype" )
446447 nmesh = get_b (" nmesh" )
447448 mesh = get_b (" mesh" )
448449 wmax:: T = get_b (" wmax" )
449450 wmin:: T = get_b (" wmin" )
451+ #
452+ # For bosonic correlators of Hermitian operators, the spectral
453+ # function is defined in (0, ∞) only.
454+ if ktype == " bsymm"
455+ @assert wmin ≥ 0.0
456+ @assert wmax ≥ 0.0
457+ @assert wmax > wmin
458+ end
450459
451460 # Try to generate the required mesh
452461 @cswitch mesh begin
Original file line number Diff line number Diff line change 44# Author : Li Huang (huangli@caep.cn)
55# Status : Unstable
66#
7- # Last modified: 2024/07/16
7+ # Last modified: 2024/07/18
88#
99
1010#=
@@ -172,7 +172,7 @@ Version of this julia toolkit.
172172
173173See also: [`__RELEASE__`](@ref).
174174"""
175- const __VERSION__ = v " 1.8.6-devel.240716 "
175+ const __VERSION__ = v " 1.8.6-devel.240718 "
176176
177177"""
178178 __RELEASE__
You can’t perform that action at this time.
0 commit comments