Fix warnings.
This commit is contained in:
@@ -21,11 +21,11 @@ impl Kernel for Constant {
|
||||
1
|
||||
}
|
||||
|
||||
fn state_mean(&self, t: f64) -> Array1<f64> {
|
||||
fn state_mean(&self, _t: f64) -> Array1<f64> {
|
||||
Array1::zeros(1)
|
||||
}
|
||||
|
||||
fn state_cov(&self, t: f64) -> Array2<f64> {
|
||||
fn state_cov(&self, _t: f64) -> Array2<f64> {
|
||||
array![[1.0]] * self.var
|
||||
}
|
||||
|
||||
@@ -37,11 +37,11 @@ impl Kernel for Constant {
|
||||
array![[0.0]]
|
||||
}
|
||||
|
||||
fn transition(&self, t0: f64, t1: f64) -> Array2<f64> {
|
||||
fn transition(&self, _t0: f64, _t1: f64) -> Array2<f64> {
|
||||
array![[1.0]]
|
||||
}
|
||||
|
||||
fn noise_cov(&self, t0: f64, t1: f64) -> Array2<f64> {
|
||||
fn noise_cov(&self, _t0: f64, _t1: f64) -> Array2<f64> {
|
||||
array![[0.0]]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user