From c4a18ee0ccf1ec7cb81afc7ce7438a3a8ba72011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Mon, 20 May 2024 15:52:14 +0200 Subject: [PATCH] fix compilation with all features enabled --- nalgebra-sparse/src/ops/impl_std_ops.rs | 4 ++-- src/geometry/point.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nalgebra-sparse/src/ops/impl_std_ops.rs b/nalgebra-sparse/src/ops/impl_std_ops.rs index ec2d5dcf0..c0e8f4a49 100644 --- a/nalgebra-sparse/src/ops/impl_std_ops.rs +++ b/nalgebra-sparse/src/ops/impl_std_ops.rs @@ -306,9 +306,9 @@ macro_rules! impl_spmm_cs_dense { // TODO: Is it possible to simplify these bounds? ShapeConstraint: // Bounds so that we can turn OMatrix into a DMatrixSliceMut - DimEq>::Buffer as RawStorage>::RStride> + DimEq>::Buffer as RawStorage>::RStride> + DimEq - + DimEq>::Buffer as RawStorage>::CStride> + + DimEq>::Buffer as RawStorage>::CStride> // Bounds so that we can turn &Matrix into a DMatrixSlice + DimEq + DimEq diff --git a/src/geometry/point.rs b/src/geometry/point.rs index 5a302bb9a..5ac9d7a7e 100644 --- a/src/geometry/point.rs +++ b/src/geometry/point.rs @@ -49,7 +49,7 @@ use std::mem::MaybeUninit; T: rkyv::Archive, T::Archived: Scalar, OVector: rkyv::Archive>, - DefaultAllocator: Allocator, + DefaultAllocator: Allocator, ") ) )]