Fix warnings.

This commit is contained in:
2020-04-17 20:39:01 +02:00
parent 81ed582e59
commit 5aaada0c05
11 changed files with 76 additions and 112 deletions

View File

@@ -28,11 +28,11 @@ impl Kernel for Matern32 {
2
}
fn state_mean(&self, t: f64) -> Array1<f64> {
fn state_mean(&self, _t: f64) -> Array1<f64> {
Array1::zeros(2)
}
fn state_cov(&self, t: f64) -> Array2<f64> {
fn state_cov(&self, _t: f64) -> Array2<f64> {
let a = self.lambda;
array![[1.0, 0.0], [0.0, a * a]] * self.var