From 535e9d9ebd146fc146c27ddcd7f6a64802302987 Mon Sep 17 00:00:00 2001 From: Nestor Demeure Date: Sat, 2 Nov 2019 09:12:34 +0100 Subject: [PATCH] used Storage trait for solve method as per issue 667 https://github.com/rustsim/nalgebra/issues/667 --- src/linalg/cholesky.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linalg/cholesky.rs b/src/linalg/cholesky.rs index 0b6e6db5..7431d666 100644 --- a/src/linalg/cholesky.rs +++ b/src/linalg/cholesky.rs @@ -129,7 +129,7 @@ where DefaultAllocator: Allocator /// `x` the unknown. pub fn solve(&self, b: &Matrix) -> MatrixMN where - S2: StorageMut, + S2: Storage, DefaultAllocator: Allocator, ShapeConstraint: SameNumberOfRows, {