probably wrong stuff
This commit is contained in:
parent
1f1568ebe9
commit
f7ae745bef
@ -105,10 +105,10 @@ macro_rules! impl_matrix_wide_mul_inner {
|
|||||||
(
|
(
|
||||||
$lhs:ident, $lhs_field_outer:ident, $wide_dot:ident, $rhs:ident,
|
$lhs:ident, $lhs_field_outer:ident, $wide_dot:ident, $rhs:ident,
|
||||||
//pass this in twice, once for pass through and once to parse
|
//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), + }),
|
($struct_inner: ident { $($field_inner: ident), + }),
|
||||||
$rhs_outer_thru: tt,
|
$rhs_outer_thru: tt,
|
||||||
($rhs_outer: ident { $($rhs_outer_field: ident), + })
|
($rhs_outer: ident { $($rhs_field_outer: ident), + })
|
||||||
) => {
|
) => {
|
||||||
$struct_inner {
|
$struct_inner {
|
||||||
$(
|
$(
|
||||||
@ -116,9 +116,9 @@ macro_rules! impl_matrix_wide_mul_inner {
|
|||||||
//construct a transposed vector with the same width as $struct_outer
|
//construct a transposed vector with the same width as $struct_outer
|
||||||
$crate::impl_matrix_wide_mul_transpose_helper!{
|
$crate::impl_matrix_wide_mul_transpose_helper!{
|
||||||
$rhs,
|
$rhs,
|
||||||
$struct_inner_thru,
|
$rhs_struct_inner,//into
|
||||||
$rhs_outer_thru,
|
$rhs_outer_thru,//from
|
||||||
$rhs_outer_field
|
$rhs_field_outer
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
), +
|
), +
|
||||||
@ -143,7 +143,7 @@ macro_rules! impl_matrix_wide_mul_outer {
|
|||||||
$field_outer: $crate::impl_matrix_wide_mul_inner!{
|
$field_outer: $crate::impl_matrix_wide_mul_inner!{
|
||||||
$lhs, $field_outer, $wide_dot, $rhs,
|
$lhs, $field_outer, $wide_dot, $rhs,
|
||||||
$struct_inner,//thru
|
$struct_inner,//thru
|
||||||
$struct_inner,
|
$rhs_struct_inner,
|
||||||
$rhs_matrix,//thru
|
$rhs_matrix,//thru
|
||||||
$rhs_matrix
|
$rhs_matrix
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user