From f7ae745bef8ab5d1e120b59abbd5f90c0a9e34e9 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 3 Sep 2024 12:25:17 -0700 Subject: [PATCH] probably wrong stuff --- fixed_wide_vectors/src/macros/fixed_wide.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fixed_wide_vectors/src/macros/fixed_wide.rs b/fixed_wide_vectors/src/macros/fixed_wide.rs index 44d5aec..f091489 100644 --- a/fixed_wide_vectors/src/macros/fixed_wide.rs +++ b/fixed_wide_vectors/src/macros/fixed_wide.rs @@ -105,10 +105,10 @@ macro_rules! impl_matrix_wide_mul_inner { ( $lhs:ident, $lhs_field_outer:ident, $wide_dot:ident, $rhs:ident, //pass this in twice, once for pass through and once to parse - $struct_inner_thru: tt, + $rhs_struct_inner: tt, ($struct_inner: ident { $($field_inner: ident), + }), $rhs_outer_thru: tt, - ($rhs_outer: ident { $($rhs_outer_field: ident), + }) + ($rhs_outer: ident { $($rhs_field_outer: ident), + }) ) => { $struct_inner { $( @@ -116,9 +116,9 @@ macro_rules! impl_matrix_wide_mul_inner { //construct a transposed vector with the same width as $struct_outer $crate::impl_matrix_wide_mul_transpose_helper!{ $rhs, - $struct_inner_thru, - $rhs_outer_thru, - $rhs_outer_field + $rhs_struct_inner,//into + $rhs_outer_thru,//from + $rhs_field_outer } ) ), + @@ -143,7 +143,7 @@ macro_rules! impl_matrix_wide_mul_outer { $field_outer: $crate::impl_matrix_wide_mul_inner!{ $lhs, $field_outer, $wide_dot, $rhs, $struct_inner,//thru - $struct_inner, + $rhs_struct_inner, $rhs_matrix,//thru $rhs_matrix }