Skip to content

Commit

Permalink
fix notation row/columns
Browse files Browse the repository at this point in the history
  • Loading branch information
tgiani committed Nov 20, 2024
1 parent e4c621b commit 81ece22
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/ekore/src/anomalous_dimensions/unpolarized/spacelike.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ pub fn gamma_ns_qed(
c: &mut Cache,
nf: u8,
) -> Vec<Vec<Complex<f64>>> {
let row = vec![Complex::<f64>::zero(); order_qcd + 1];
let mut gamma_ns = vec![row; order_qed + 1];
let col = vec![Complex::<f64>::zero(); order_qcd + 1];
let mut gamma_ns = vec![col; order_qed + 1];
gamma_ns[1][0] = as1::gamma_ns(c, nf);
gamma_ns[0][1] = choose_ns_as_aem1(mode, c, nf);
gamma_ns[1][1] = choose_ns_as_as1aem1(mode, c, nf);
Expand Down Expand Up @@ -100,7 +100,7 @@ pub fn gamma_singlet_qed(
c: &mut Cache,
nf: u8,
) -> Vec<Vec<[[Complex<f64>; 4]; 4]>> {
let row = vec![
let col = vec![
[[
Complex::<f64>::zero(),
Complex::<f64>::zero(),
Expand All @@ -110,7 +110,7 @@ pub fn gamma_singlet_qed(
order_qcd + 1
];

let mut gamma_s = vec![row; order_qed + 1];
let mut gamma_s = vec![col; order_qed + 1];

gamma_s[1][0] = as1::gamma_singlet_qed(c, nf);
gamma_s[0][1] = aem1::gamma_singlet(c, nf);
Expand All @@ -125,9 +125,9 @@ pub fn gamma_valence_qed(
c: &mut Cache,
nf: u8,
) -> Vec<Vec<[[Complex<f64>; 2]; 2]>> {
let row = vec![[[Complex::<f64>::zero(), Complex::<f64>::zero(),]; 2]; order_qcd + 1];
let col = vec![[[Complex::<f64>::zero(), Complex::<f64>::zero(),]; 2]; order_qcd + 1];

let mut gamma_v = vec![row; order_qed + 1];
let mut gamma_v = vec![col; order_qed + 1];
gamma_v[1][0] = as1::gamma_valence_qed(c, nf);
gamma_v[0][1] = aem1::gamma_valence(c, nf);
gamma_v[1][1] = as1aem1::gamma_valence(c, nf);
Expand Down

0 comments on commit 81ece22

Please sign in to comment.