Merge pull request #117 from morenol/lmm/fix_clippy
Fix clippy warnings
This commit is contained in:
@@ -330,7 +330,7 @@ impl<T: RealNumber> DenseMatrix<T> {
|
||||
cur_r: 0,
|
||||
max_c: self.ncols,
|
||||
max_r: self.nrows,
|
||||
m: &self,
|
||||
m: self,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user