Skip to content

Commit eec6705

Browse files
Replace last instance of expect in favor of unwrap
1 parent 51e2643 commit eec6705

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pineappl_capi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2203,7 +2203,7 @@ pub unsafe extern "C" fn pineappl_grid_evolve(
22032203
Ix4(eko_shape[0], eko_shape[1], eko_shape[2], eko_shape[3]),
22042204
values.to_vec(),
22052205
)
2206-
.expect("Shape mismatch or invalid input.");
2206+
.unwrap();
22072207

22082208
Ok::<_, std::io::Error>((operator_slice_info, CowArray::from(array)))
22092209
})

0 commit comments

Comments
 (0)