Skip to content

Commit

Permalink
Test symmetrize for Lagrage subgrids
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Nov 23, 2023
1 parent 1e013ec commit fdd159c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pineappl/tests/drell_yan_lo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,10 @@ fn perform_grid_tests(
assert_approx_eq!(f64, *result, *reference, ulps = 24);
}

// TEST 7: `optimize`
// TEST 7a: `optimize_using` - tests `symmetrize` for each subgrid type
grid.optimize_using(GridOptFlags::SYMMETRIZE_CHANNELS);

// TEST 7b: `optimize`
grid.optimize();

assert_eq!(grid.subgrid(0, 0, 0).x1_grid().as_ref(), x_grid);
Expand Down

0 comments on commit fdd159c

Please sign in to comment.