Clippy lints

This commit is contained in:
2022-05-17 08:24:33 +02:00
parent 70cab01334
commit f40de866ce
15 changed files with 77 additions and 77 deletions

View File

@@ -19,8 +19,8 @@ impl Clone for Field {
}
impl integrate::Integrable for Field {
type State = Field;
type Diff = Field;
type State = Self;
type Diff = Self;
fn scaled_add(s: &mut Self::State, o: &Self::Diff, scale: Float) {
s.0.scaled_add(scale, &o.0);