Currently, physical constants are given by const variables defined in constants.jl. However, those variables are float64 by default, which causes problems in calculations involving other floating-point precisions.
For instance, _pert_compton_matrix_element_single returns a float64 even if the momentum type is `SFourMomentum{Float32}'.
Currently, physical constants are given by const variables defined in
constants.jl. However, those variables are float64 by default, which causes problems in calculations involving other floating-point precisions.For instance,
_pert_compton_matrix_element_singlereturns a float64 even if the momentum type is `SFourMomentum{Float32}'.