Skip to content

Commit

Permalink
Improved docs [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Sep 25, 2023
1 parent 4a81940 commit 40816da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mstl_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl MstlResult {
strength(self.trend(), self.remainder())
}

/// Takes ownership of the components.
/// Consumes the result, returning the seasonal components, trend component, and remainder.
pub fn into_parts(self) -> (Vec<Vec<f32>>, Vec<f32>, Vec<f32>) {
(self.seasonal, self.trend, self.remainder)
}
Expand Down
2 changes: 1 addition & 1 deletion src/stl_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl StlResult {
strength(self.trend(), self.remainder())
}

/// Takes ownership of the components.
/// Consumes the result, returning the seasonal component, trend component, remainder, and weights.
pub fn into_parts(self) -> (Vec<f32>, Vec<f32>, Vec<f32>, Vec<f32>) {
(self.seasonal, self.trend, self.remainder, self.weights)
}
Expand Down

0 comments on commit 40816da

Please sign in to comment.