Fix warnings.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user