Skip to content

Commit

Permalink
rust: Fix typo in aem1/v
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed Jan 15, 2025
1 parent 8dc3452 commit 714efa9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ pub fn gamma_singlet(c: &mut Cache, nf: u8) -> [[Complex<f64>; 4]; 4] {
/// Compute the valence anomalous dimension matrix.
pub fn gamma_valence(c: &mut Cache, nf: u8) -> [[Complex<f64>; 2]; 2] {
let cc = ChargeCombinations { nf };

let g = gamma_ns(c, nf);
[
[cc.e2avg() * gamma_ns(c, nf), cc.vue2m() * gamma_ns(c, nf)],
[cc.vde2m() * gamma_ns(c, nf), cc.e2delta() * gamma_ns(c, nf)],
[cc.e2avg() * g, cc.vue2m() * g],
[cc.vde2m() * g, cc.e2delta() * g],
]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,10 @@ pub fn gamma_singlet(c: &mut Cache, nf: u8) -> [[Complex<f64>; 4]; 4] {
/// Compute the valence anomalous dimension matrix.
pub fn gamma_valence(c: &mut Cache, nf: u8) -> [[Complex<f64>; 2]; 2] {
let cc = ChargeCombinations { nf };
let g = gamma_nsm(c, nf);
[
[cc.e2avg() * gamma_nsm(c, nf), cc.vue2m() * gamma_nsm(c, nf)],
[
cc.vde2m() * gamma_nsm(c, nf) * gamma_nsm(c, nf),
cc.e2delta() * gamma_nsm(c, nf),
],
[cc.e2avg() * g, cc.vue2m() * g],
[cc.vde2m() * g, cc.e2delta() * g],
]
}

Expand Down

0 comments on commit 714efa9

Please sign in to comment.