Skip to content

Commit 3a5c2a9

Browse files
Merge pull request #75 from Radonirinaunimi/remove-rayon
Remove `Rayon` in `xfxq2s`
2 parents 83df187 + 30cdbab commit 3a5c2a9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

neopdf/src/gridpdf.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
//! - [`GridArray`]: Stores the full set of subgrids and flavor IDs.
77
88
use core::panic;
9-
109
use ndarray::{Array1, Array2};
11-
use rayon::prelude::*;
1210
use serde::{Deserialize, Serialize};
1311
use thiserror::Error;
1412

@@ -327,7 +325,6 @@ impl GridPDF {
327325
let flatten_len = grid_shape.iter().product();
328326

329327
let data: Vec<f64> = (0..flatten_len)
330-
.into_par_iter()
331328
.map(|idx| {
332329
let num_cols = slice_points.len();
333330
let (fl_idx, s_idx) = (idx / num_cols, idx % num_cols);

0 commit comments

Comments
 (0)