From 3452243a1d05acdc1307f35dc84446256da40f82 Mon Sep 17 00:00:00 2001 From: tgiani Date: Thu, 21 Nov 2024 14:29:44 +0100 Subject: [PATCH] remove useless flag is_qed --- crates/eko/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/eko/src/lib.rs b/crates/eko/src/lib.rs index c241fb759..040a12c69 100644 --- a/crates/eko/src/lib.rs +++ b/crates/eko/src/lib.rs @@ -112,7 +112,7 @@ pub unsafe extern "C" fn rust_quad_ker_qcd(u: f64, rargs: *mut c_void) -> f64 { ); } } else if is_singlet { - if args.is_qed { + if args.order_qed > 0 { let gamma_singlet_qed = ekore::anomalous_dimensions::unpolarized::spacelike::gamma_singlet_qed; raw = unravel_qed( @@ -130,7 +130,7 @@ pub unsafe extern "C" fn rust_quad_ker_qcd(u: f64, rargs: *mut c_void) -> f64 { args.order_qcd, ); } - } else if args.is_qed { + } else if args.order_qed > 0 { if is_qed_valence { let gamma_valence_qed = ekore::anomalous_dimensions::unpolarized::spacelike::gamma_valence_qed; @@ -248,7 +248,6 @@ pub struct QuadQCDargs { pub sv_mode_num: u8, pub is_threshold: bool, pub is_ome: bool, - pub is_qed: bool, pub Lsv: f64, } @@ -319,7 +318,6 @@ pub unsafe extern "C" fn empty_qcd_args() -> QuadQCDargs { sv_mode_num: 0, is_threshold: false, is_ome: false, - is_qed: false, Lsv: 0., } }