diff --git a/pineappl/src/lagrange_subgrid.rs b/pineappl/src/lagrange_subgrid.rs index 8a311dd8..d5454ec8 100644 --- a/pineappl/src/lagrange_subgrid.rs +++ b/pineappl/src/lagrange_subgrid.rs @@ -108,22 +108,6 @@ impl Subgrid for LagrangeSubgridV2 { self.array = new_array; } - // fn indexed_iter(&self) -> SubgridIndexedIter { - // let nodes: Vec<_> = self.interps.iter().map(Interp::node_values).collect(); - - // Box::new(self.array.indexed_iter::<3>().map(move |(index, v)| { - // ( - // (index[0], index[1], index[2]), - // v * self - // .interps - // .iter() - // .enumerate() - // .map(|(i, interp)| interp.reweight(nodes[i][index[i]])) - // .product::(), - // ) - // })) - // } - fn indexed_iter(&self) -> SubgridIndexedIter { let nodes: Vec<_> = self.interps.iter().map(Interp::node_values).collect(); diff --git a/pineappl/src/packed_subgrid.rs b/pineappl/src/packed_subgrid.rs index 05edaf74..c99654b4 100644 --- a/pineappl/src/packed_subgrid.rs +++ b/pineappl/src/packed_subgrid.rs @@ -29,7 +29,6 @@ impl Subgrid for PackedQ1X2SubgridV1 { } fn mu2_grid(&self) -> Cow<[Mu2]> { - // Cow::Borrowed(&self.mu2_grid) Cow::Owned( self.node_values[0] .values() @@ -233,16 +232,6 @@ mod tests { ) .into(); - // let mu2 = vec![Mu2 { - // ren: 0.0, - // fac: 0.0, - // frg: -1.0, - // }]; - - // assert_eq!(grid1.mu2_grid().as_ref(), mu2); - // assert_eq!(grid1.x1_grid().as_ref(), x); - // assert_eq!(grid1.x2_grid(), grid1.x1_grid()); - assert_eq!( grid1.node_values(), vec![