Small clippy lint fixes

This commit is contained in:
2022-02-25 20:43:57 +01:00
parent 6ebb173847
commit cfeb30fac0
9 changed files with 59 additions and 52 deletions

View File

@@ -203,7 +203,7 @@ impl Clone for Field {
pub struct Diff(pub(crate) Array3<Float>);
impl integrate::Integrable for Field {
type State = Field;
type State = Self;
type Diff = Diff;
fn scaled_add(s: &mut Self::State, o: &Self::Diff, scale: Float) {