Skip to content

Commit e2f333e

Browse files
Replace glob items import for rayon
1 parent fac1be5 commit e2f333e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pineappl/src/evolution.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use ndarray::{
1515
s, Array1, Array2, Array3, ArrayD, ArrayView1, ArrayView4, ArrayViewD, ArrayViewMutD, Axis,
1616
Ix1, Ix2,
1717
};
18-
use rayon::prelude::*;
18+
use rayon::prelude::{IntoParallelIterator, ParallelIterator};
1919
use std::iter;
2020
use std::sync::{Arc, Mutex};
2121

@@ -428,7 +428,6 @@ pub(crate) fn evolve_slice(
428428
continue;
429429
};
430430

431-
// Sequential lazy loading update (must remain sequential)
432431
for (last_x1, x1, pid_indices, slices, operator, info) in izip!(
433432
&mut last_x1,
434433
x1,
@@ -496,6 +495,7 @@ pub(crate) fn evolve_slice(
496495
let tables = Arc::try_unwrap(tables).unwrap().into_inner().unwrap();
497496
sub_fk_tables.extend(tables.into_iter().map(|table| {
498497
ImportSubgridV1::new(
498+
// TODO: insert one more axis if initial frg scale unequals fac
499499
PackedArray::from(table.insert_axis(Axis(0)).view()),
500500
node_values.clone(),
501501
)

0 commit comments

Comments
 (0)