Skip to content

Commit af687ab

Browse files
Fix a (saddle) bug in pineappl_grid_evolve of the C API
1 parent 74b064d commit af687ab

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pineappl_capi/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,8 +2227,9 @@ pub unsafe extern "C" fn pineappl_grid_evolve(
22272227
.into();
22282228

22292229
let op_slices = operator_info
2230-
.map(|op_infos| {
2231-
op_infos.iter().enumerate().map(|(op_index, op_info)| {
2230+
.enumerate()
2231+
.map(|(op_index, op_infos)| {
2232+
op_infos.iter().map(move |op_info| {
22322233
let operator_slice_info = OperatorSliceInfo {
22332234
pid_basis: op_info.pid_basis,
22342235
fac0: op_info.fac0,

0 commit comments

Comments
 (0)