From 0a0799f76a8cfd1cc46561807677c612ef8731ea Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Mon, 3 Aug 2020 18:03:01 +0200 Subject: [PATCH] Remove unnecessary Trait bound DimSub in fn cholesky(self) --- src/linalg/cholesky.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linalg/cholesky.rs b/src/linalg/cholesky.rs index d9f33f27..17187fdf 100644 --- a/src/linalg/cholesky.rs +++ b/src/linalg/cholesky.rs @@ -8,7 +8,7 @@ use simba::simd::SimdComplexField; use crate::allocator::Allocator; use crate::base::{DefaultAllocator, Matrix, MatrixMN, MatrixN, SquareMatrix, Vector}; use crate::constraint::{SameNumberOfRows, ShapeConstraint}; -use crate::dimension::{Dim, DimAdd, DimDiff, DimSub, DimSum, Dynamic, U1}; +use crate::dimension::{Dim, DimAdd, DimDiff, DimSub, DimSum, U1}; use crate::storage::{Storage, StorageMut}; /// The Cholesky decomposition of a symmetric-definite-positive matrix. @@ -364,7 +364,7 @@ where } } -impl, S: Storage> SquareMatrix +impl> SquareMatrix where DefaultAllocator: Allocator, {