From 607706ee2af6e35f60f4880cbe04f83d6d9d2dc4 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 5 Sep 2024 17:56:04 -0700 Subject: [PATCH] nope --- fixed_wide_vectors/src/macros/matrix.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fixed_wide_vectors/src/macros/matrix.rs b/fixed_wide_vectors/src/macros/matrix.rs index 6123736..0c1c371 100644 --- a/fixed_wide_vectors/src/macros/matrix.rs +++ b/fixed_wide_vectors/src/macros/matrix.rs @@ -38,8 +38,9 @@ macro_rules! impl_matrix { where T:core::ops::Mul+Copy, V:core::iter::Sum, + U:Clone, { - let mut array_of_iterators=rhs.array.map(|axis|axis.into_iter()); + let mut array_of_iterators=rhs.array.map(|axis|axis.into_iter().cycle()); Matrix{ array:self.array.map(|axis| core::array::from_fn(|_|