forked from M-Labs/nalgebra
Run cargo fmt.
This commit is contained in:
parent
3359e25435
commit
2c2d1e4f07
@ -57,7 +57,9 @@ where
|
||||
N: Default,
|
||||
{
|
||||
fn default() -> Self {
|
||||
ArrayStorage { data: Default::default() }
|
||||
ArrayStorage {
|
||||
data: Default::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@ pub struct Quaternion<N: Scalar + SimdValue> {
|
||||
impl<N: RealField> Default for Quaternion<N> {
|
||||
fn default() -> Self {
|
||||
Quaternion {
|
||||
coords: Vector4::zeros()
|
||||
coords: Vector4::zeros(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,8 @@ use crate::storage::{Storage, StorageMut};
|
||||
)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Cholesky<N: SimdComplexField, D: Dim>
|
||||
where DefaultAllocator: Allocator<N, D, D>
|
||||
where
|
||||
DefaultAllocator: Allocator<N, D, D>,
|
||||
{
|
||||
chol: MatrixN<N, D>,
|
||||
}
|
||||
@ -38,7 +39,8 @@ where
|
||||
}
|
||||
|
||||
impl<N: SimdComplexField, D: Dim> Cholesky<N, D>
|
||||
where DefaultAllocator: Allocator<N, D, D>
|
||||
where
|
||||
DefaultAllocator: Allocator<N, D, D>,
|
||||
{
|
||||
/// Computes the Cholesky decomposition of `matrix` without checking that the matrix is definite-positive.
|
||||
///
|
||||
@ -139,7 +141,8 @@ where DefaultAllocator: Allocator<N, D, D>
|
||||
}
|
||||
|
||||
impl<N: ComplexField, D: Dim> Cholesky<N, D>
|
||||
where DefaultAllocator: Allocator<N, D, D>
|
||||
where
|
||||
DefaultAllocator: Allocator<N, D, D>,
|
||||
{
|
||||
/// Attempts to compute the Cholesky decomposition of `matrix`.
|
||||
///
|
||||
@ -362,7 +365,8 @@ where DefaultAllocator: Allocator<N, D, D>
|
||||
}
|
||||
|
||||
impl<N: ComplexField, D: DimSub<Dynamic>, S: Storage<N, D, D>> SquareMatrix<N, D, S>
|
||||
where DefaultAllocator: Allocator<N, D, D>
|
||||
where
|
||||
DefaultAllocator: Allocator<N, D, D>,
|
||||
{
|
||||
/// Attempts to compute the Cholesky decomposition of this matrix.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user