Used Storage trait for solve method

See issue 667 : https://github.com/rustsim/nalgebra/issues/667
This commit is contained in:
Nestor Demeure 2019-11-02 09:08:16 +01:00 committed by Sébastien Crozet
parent ead2360f8e
commit 7777ec43ea

View File

@ -167,7 +167,7 @@ where DefaultAllocator: Allocator<N, D, D> + Allocator<(usize, usize), D>
b: &Matrix<N, R2, C2, S2>,
) -> Option<MatrixMN<N, R2, C2>>
where
S2: StorageMut<N, R2, C2>,
S2: Storage<N, R2, C2>,
ShapeConstraint: SameNumberOfRows<R2, D>,
DefaultAllocator: Allocator<N, R2, C2>,
{