Skip to content

Commit

Permalink
Remove Grid::pid_basis_mut
Browse files Browse the repository at this point in the history
  • Loading branch information
t7phy committed Jan 30, 2025
1 parent 619e030 commit 61a9441
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pineappl/src/grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,6 @@ impl Grid {
&self.pid_basis
}

/// Set the convention by which PIDs of channels are interpreted.
pub fn pid_basis_mut(&mut self) -> &mut PidBasis {
&mut self.pid_basis
}

/// Return a vector containing the interpolation specifications for this grid.
#[must_use]
pub fn interpolations(&self) -> &[Interp] {
Expand Down Expand Up @@ -1485,7 +1480,7 @@ impl Grid {
for channel in &mut self.channels {
*channel = self_pid_basis.translate(pid_basis, channel.clone());
}
*self.pid_basis_mut() = pid_basis;
self.pid_basis = pid_basis;
}

/// Deletes channels with the corresponding `channel_indices`. Repeated indices and indices
Expand Down

0 comments on commit 61a9441

Please sign in to comment.