Closed kunyuan closed 2 years ago
kernel\Omage could return complex or float depending on isFermi and symmetry arguments. Replace the argument with ::Val{isFermi} and ::Val{symmetry} to allow multiple dispatch to improve the type stability
kernel\Omage could return complex or float depending on isFermi and symmetry arguments. Replace the argument with ::Val{isFermi} and ::Val{symmetry} to allow multiple dispatch to improve the type stability