File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -217,11 +217,6 @@ impl Grid {
217217 & self . pid_basis
218218 }
219219
220- /// Set the convention by which PIDs of channels are interpreted.
221- pub fn pid_basis_mut ( & mut self ) -> & mut PidBasis {
222- & mut self . pid_basis
223- }
224-
225220 /// Return a vector containing the interpolation specifications for this grid.
226221 #[ must_use]
227222 pub fn interpolations ( & self ) -> & [ Interp ] {
@@ -1485,7 +1480,7 @@ impl Grid {
14851480 for channel in & mut self . channels {
14861481 * channel = self_pid_basis. translate ( pid_basis, channel. clone ( ) ) ;
14871482 }
1488- * self . pid_basis_mut ( ) = pid_basis;
1483+ self . pid_basis = pid_basis;
14891484 }
14901485
14911486 /// Deletes channels with the corresponding `channel_indices`. Repeated indices and indices
You can’t perform that action at this time.
0 commit comments