Skip to content

Floating point precision of physical constants #128

@szabo137

Description

@szabo137

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}'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions