cargo fmt

This commit is contained in:
Violeta Hernández 2021-07-17 21:50:06 -05:00
parent b74be8499f
commit a753d84aae
7 changed files with 13 additions and 12 deletions

View File

@ -83,7 +83,9 @@ where
OVector<T, D>: fmt::Debug,
{
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("OPoint").field("coords",&self.coords).finish()
f.debug_struct("OPoint")
.field("coords", &self.coords)
.finish()
}
}

View File

@ -242,8 +242,7 @@ where
let mut res = CsMatrix::new_uninitialized_generic(nrows1, ncols2, self.len() + rhs.len());
let mut timestamps = OVector::zeros_generic(nrows1, Const::<1>);
let mut workspace =
Matrix::new_uninitialized_generic(nrows1, Const::<1>) ;
let mut workspace = Matrix::new_uninitialized_generic(nrows1, Const::<1>);
let mut nz = 0;
for j in 0..ncols2.value() {