Skip to content

Commit

Permalink
FIX: match signature with DynamicsBuilder protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jan 30, 2025
1 parent 7221060 commit 7c934fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ampform_dpd/dynamics/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@


def formulate_breit_wigner_with_form_factor(
decay: ThreeBodyDecayChain,
decay_chain: ThreeBodyDecayChain,
) -> tuple[sp.Expr, dict[sp.Symbol, complex | float]]:
decay_node = decay.decay_node
decay_node = decay_chain.decay_node
s = get_mandelstam_s(decay_node)
parameter_defaults = {}
production_ff, new_pars = _create_form_factor(s, decay.production_node)
production_ff, new_pars = _create_form_factor(s, decay_chain.production_node)
parameter_defaults.update(new_pars)
decay_ff, new_pars = _create_form_factor(s, decay_node)
parameter_defaults.update(new_pars)
Expand Down

0 comments on commit 7c934fb

Please sign in to comment.