From fa88d4fc886d85458ca50613565c74f0dfcc6a12 Mon Sep 17 00:00:00 2001 From: Felix Hekhorn Date: Wed, 15 Jan 2025 15:44:48 +0200 Subject: [PATCH] rust: Swap dimensions for ad --- .../anomalous_dimensions/unpolarized/spacelike.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/ekore/src/anomalous_dimensions/unpolarized/spacelike.rs b/crates/ekore/src/anomalous_dimensions/unpolarized/spacelike.rs index 08d8aeedb..cada98f15 100644 --- a/crates/ekore/src/anomalous_dimensions/unpolarized/spacelike.rs +++ b/crates/ekore/src/anomalous_dimensions/unpolarized/spacelike.rs @@ -69,8 +69,8 @@ pub fn gamma_ns_qed( c: &mut Cache, nf: u8, ) -> Vec>> { - let col = vec![Complex::::zero(); order_qcd + 1]; - let mut gamma_ns = vec![col; order_qed + 1]; + let col = vec![Complex::::zero(); order_qed + 1]; + let mut gamma_ns = vec![col; order_qcd + 1]; // QCD corrections let qcd_mode = match mode { @@ -122,9 +122,9 @@ pub fn gamma_singlet_qed( Complex::::zero(), Complex::::zero() ]; 4]; - order_qcd + 1 + order_qed + 1 ]; - let mut gamma_s = vec![col; order_qed + 1]; + let mut gamma_s = vec![col; order_qcd + 1]; // QCD corrections let gamma_qcd_s = gamma_singlet_qcd(order_qcd, c, nf); @@ -175,8 +175,8 @@ pub fn gamma_valence_qed( c: &mut Cache, nf: u8, ) -> Vec; 2]; 2]>> { - let col = vec![[[Complex::::zero(), Complex::::zero(),]; 2]; order_qcd + 1]; - let mut gamma_v = vec![col; order_qed + 1]; + let col = vec![[[Complex::::zero(), Complex::::zero(),]; 2]; order_qed + 1]; + let mut gamma_v = vec![col; order_qcd + 1]; // QCD corrections let gamma_qcd_nsv = gamma_ns_qcd(order_qcd, PID_NSV, c, nf);