src/nalgebra_support.rs

branch
dev
changeset 129
d2994e34a5f5
parent 124
6aa955ad8122
child 131
8264d72aa347
child 132
89371dc4d637
--- a/src/nalgebra_support.rs	Sun May 11 02:03:45 2025 -0500
+++ b/src/nalgebra_support.rs	Mon May 12 15:42:48 2025 -0500
@@ -103,7 +103,7 @@
     }
 }
 
-impl<SM, SV1, M, E> AXPY<E, Vector<E, M, SV1>> for Vector<E, M, SM>
+impl<SM, SV1, M, E> AXPY<Vector<E, M, SV1>> for Vector<E, M, SM>
 where
     SM: StorageMut<E, M> + Clone,
     SV1: Storage<E, M> + Clone,
@@ -111,6 +111,7 @@
     E: Scalar + Zero + One + Float,
     DefaultAllocator: Allocator<M>,
 {
+    type Field = E;
     type Owned = OVector<E, M>;
 
     #[inline]

mercurial