Skip to content

Commit

Permalink
Remove type pineappl_subgrid from CAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Jan 17, 2024
1 parent 32952dc commit 9d1c382
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- changed the type `ParseBinRemapperError` to allow capturing errors from
`BinRemapper::new`

### Removed

- removed the type `SubGrid` that was exported in the CAPI as the type
`pineappl_subgrid`. This type was not used anymore and was a left-over of the
changes in the previous version.

## [0.6.3] - 12/12/2023

### Added
Expand Down
4 changes: 0 additions & 4 deletions pineappl_capi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
use itertools::izip;
use pineappl::bin::BinRemapper;
use pineappl::grid::{Grid, GridOptFlags, Ntuple, Order};
use pineappl::import_only_subgrid::ImportOnlySubgridV2;
use pineappl::lumi::{LumiCache, LumiEntry};
use pineappl::subgrid::{ExtraSubgridParams, SubgridParams};
use std::collections::HashMap;
Expand Down Expand Up @@ -196,9 +195,6 @@ fn grid_params(key_vals: Option<&KeyVal>) -> (String, SubgridParams, ExtraSubgri
#[derive(Default)]
pub struct Lumi(Vec<LumiEntry>);

/// DO NOT USE. This type had been used internally.
pub struct SubGrid(ImportOnlySubgridV2);

/// Returns the number of bins in `grid`.
///
/// # Safety
Expand Down

0 comments on commit 9d1c382

Please sign in to comment.