Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tgiani committed Dec 9, 2024
1 parent 398c89a commit ea44cee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions crates/eko/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,12 @@ fn unravel_qed_ns(res: Vec<Vec<Complex<f64>>>, order_qcd: usize, order_qed: usiz
#[no_mangle]
pub unsafe extern "C" fn rust_quad_ker_qcd(u: f64, rargs: *mut c_void) -> f64 {
let args = *(rargs as *mut QuadQCDargs);

let is_singlet = (100 == args.mode0) || (21 == args.mode0) || (90 == args.mode0)|| (22 == args.mode0) || (101 == args.mode0);

let is_singlet = (100 == args.mode0)
|| (21 == args.mode0)
|| (90 == args.mode0)
|| (22 == args.mode0)
|| (101 == args.mode0);
let is_qed_valence = (10200 == args.mode0) || (10204 == args.mode0);
// prepare Mellin stuff
let path = mellin::TalbotPath::new(u, args.logx, is_singlet);
Expand Down

0 comments on commit ea44cee

Please sign in to comment.