doc and tests fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller committed 2021-07-19 14:16:28 +02:00
1 parent 2b7f8dd5ea
commit a3399f4337
5 files changed
+26 -8

No files matched your search

+2 -2
View File
@@ -79,8 +79,8 @@ where
Some(covariance/(len_x as f64))
}
/// Returns the factors (a,b) of a linear regression y = a + bx
/// for the variables [x,y] or None if the lists are not the same length
/// Returns the factors `(a,b)` of a linear regression `y = a + bx`
/// for the variables `[x,y]` or `None` if the lists are not the same length
/// ```
/// # use proxmox_backup::tools::statistics::linear_regression;
///