Skip to content

Commit

Permalink
Fix ref->cite
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed Jan 19, 2024
1 parent 5dd7de6 commit 1b8cad8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/yadism/coefficient_functions/light/n3lo/common.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Common factors see :ref:`Larin:1996wd` (Table 2)"""
"""Common factors see :cite:`Larin:1996wd` (Table 2)."""
import numba as nb
import numpy as np

Expand All @@ -10,7 +10,7 @@


def nc_color_factor(coupling_constants, nf, channel, skip_heavylight):
"""Returns the |N3LO| color factor.
"""Compute a |N3LO| color factor.
Parameters
----------
Expand Down Expand Up @@ -49,15 +49,15 @@ def nc_color_factor(coupling_constants, nf, channel, skip_heavylight):

@nb.njit("f8(f8[:])", cache=True)
def fl(nc_weights):
""":math:`fl_{11}` Non Singlet as defined in :ref:`Larin:1996wd` (Table 2) and generalized for |NC|"""
""":math:`fl_{11}` Non Singlet as defined in :cite:`Larin:1996wd` (Table 2) and generalized for |NC|."""
# fl = [2.0, 0.5, 0.0, 0.5, 0.2, 0.5]
avg = np.mean(nc_weights)
return 3 * avg


@nb.njit("f8(f8[:])", cache=True)
def fls(nc_weights):
""":math:`fl_{11}` pure Singlet as defined in :ref:`Larin:1996wd` (Table 2) and generalized for |NC|"""
""":math:`fl_{11}` pure Singlet as defined in :cite:`Larin:1996wd` (Table 2) and generalized for |NC|."""
avg_2 = np.mean(nc_weights) ** 2
sum_w2 = np.mean(nc_weights**2)
# fls = [1.0, 0.1, 0.0, 0.1, 0.01818181818, 0.1]
Expand All @@ -66,5 +66,5 @@ def fls(nc_weights):

@nb.njit("f8(f8[:])", cache=True)
def flg(nc_weights):
""":math:`fl_{11}^g` pure Singlet as defined in :ref:`Larin:1996wd` (Table 2) and generalized for |NC|"""
""":math:`fl_{11}^g` pure Singlet as defined in :cite:`Larin:1996wd` (Table 2) and generalized for |NC|."""
return fls(nc_weights)

0 comments on commit 1b8cad8

Please sign in to comment.