Skip to content

Commit

Permalink
Fix another doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
vks committed Dec 17, 2023
1 parent 5c53537 commit 7cb69bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/covariance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ use crate::Merge;
/// let a: Covariance = [(1., 5.), (2., 4.), (3., 3.), (4., 2.), (5., 1.)].iter().cloned().collect();
/// assert_eq!(a.mean_x(), 3.);
/// assert_eq!(a.mean_y(), 3.);
/// assert_eq!(a.population_covariance(), -2.5);
/// assert_eq!(a.sample_covariance(), -2.0);
/// assert_eq!(a.population_covariance(), -2.0);
/// assert_eq!(a.sample_covariance(), -2.5);
/// ```
#[derive(Debug, Clone)]
#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
Expand Down

0 comments on commit 7cb69bc

Please sign in to comment.