From d88337efa95f167a82e9dc4958aceb225647be45 Mon Sep 17 00:00:00 2001 From: metric-space Date: Thu, 3 Feb 2022 06:43:41 -0500 Subject: [PATCH] Formatting --- nalgebra-lapack/src/qz.rs | 23 ++++++++++++++--------- nalgebra-lapack/tests/linalg/mod.rs | 2 +- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/nalgebra-lapack/src/qz.rs b/nalgebra-lapack/src/qz.rs index ee0e6208..a322f8fa 100644 --- a/nalgebra-lapack/src/qz.rs +++ b/nalgebra-lapack/src/qz.rs @@ -42,11 +42,11 @@ where { alphar: OVector, alphai: OVector, - beta: OVector, - vsl: OMatrix, - s: OMatrix, - vsr: OMatrix, - t: OMatrix, + beta: OVector, + vsl: OMatrix, + s: OMatrix, + vsr: OMatrix, + t: OMatrix, } impl Copy for QZ @@ -183,12 +183,17 @@ where where DefaultAllocator: Allocator<(Complex, T), D>, { - let mut out = Matrix::from_element_generic(self.vsl.shape_generic().0, Const::<1>, (Complex::zero(), T::RealField::zero())); + let mut out = Matrix::from_element_generic( + self.vsl.shape_generic().0, + Const::<1>, + (Complex::zero(), T::RealField::zero()), + ); for i in 0..out.len() { - out[i] = (Complex::new(self.alphar[i].clone(), - self.alphai[i].clone()), - self.beta[i].clone()) + out[i] = ( + Complex::new(self.alphar[i].clone(), self.alphai[i].clone()), + self.beta[i].clone(), + ) } out diff --git a/nalgebra-lapack/tests/linalg/mod.rs b/nalgebra-lapack/tests/linalg/mod.rs index 9fd539c4..251bbe7b 100644 --- a/nalgebra-lapack/tests/linalg/mod.rs +++ b/nalgebra-lapack/tests/linalg/mod.rs @@ -1,8 +1,8 @@ mod cholesky; +mod generalized_eigenvalues; mod lu; mod qr; mod qz; -mod generalized_eigenvalues; mod real_eigensystem; mod schur; mod svd;