Merge pull request #117 from morenol/lmm/fix_clippy

Fix clippy warnings
This commit is contained in:
VolodymyrOrlov
2021-10-27 11:01:16 -07:00
committed by GitHub
11 changed files with 23 additions and 24 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ impl<T: RealNumber> DenseMatrix<T> {
cur_r: 0,
max_c: self.ncols,
max_r: self.nrows,
m: &self,
m: self,
}
}
}
+2 -2
View File
@@ -178,7 +178,7 @@ impl<T: RealNumber + ScalarOperand> BaseVector<T> for ArrayBase<OwnedRepr<T>, Ix
}
fn copy_from(&mut self, other: &Self) {
self.assign(&other);
self.assign(other);
}
}
@@ -385,7 +385,7 @@ impl<T: RealNumber + ScalarOperand + AddAssign + SubAssign + MulAssign + DivAssi
}
fn copy_from(&mut self, other: &Self) {
self.assign(&other);
self.assign(other);
}
fn abs_mut(&mut self) -> &Self {