Skip to content

Commit 667d88b

Browse files
committed
Remove some final bits of code in pineappl_v0
1 parent dd82b81 commit 667d88b

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

pineappl_v0/src/boc.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
//! (`boc`).
33
44
use serde::Deserialize;
5-
use thiserror::Error;
6-
7-
/// Error type keeping information if [`Order::from_str`] went wrong.
8-
#[derive(Debug, Error, Eq, PartialEq)]
9-
#[error("{0}")]
10-
pub struct ParseOrderError(String);
115

126
/// Coupling powers for each grid.
137
#[derive(Deserialize)]
@@ -22,20 +16,6 @@ pub struct Order {
2216
pub logxif: u32,
2317
}
2418

25-
impl Order {
26-
/// Constructor. This function mainly exists to have a way of constructing `Order` that is less
27-
/// verbose.
28-
#[must_use]
29-
pub const fn new(alphas: u32, alpha: u32, logxir: u32, logxif: u32) -> Self {
30-
Self {
31-
alphas,
32-
alpha,
33-
logxir,
34-
logxif,
35-
}
36-
}
37-
}
38-
3919
/// This structure represents a channel. Each channel consists of a tuple containing in the
4020
/// following order, the particle ID of the first incoming parton, then the particle ID of the
4121
/// second parton, and finally a numerical factor that will multiply the result for this specific

pineappl_v0/src/convolutions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! Module for everything related to luminosity functions.
22
33
/// Data type that indentifies different types of convolutions.
4-
#[derive(Debug, Eq, PartialEq)]
54
pub enum Convolution {
65
// TODO: eventually get rid of this value
76
/// No convolution.

0 commit comments

Comments
 (0)