Skip to content

Commit

Permalink
Fix tuple_element index in make_tt
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Oct 30, 2024
1 parent 899ba18 commit fb55a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttg/ttg/make_tt.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class CallableWrapTTArgs
if constexpr (funcT_receives_input_tuple) {
return fn(std::forward<Tuple>(args_tuple), std::forward<decltype(args)>(args)...);
} else {
return fn(baseT::template get<S, std::tuple_element_t<S + 1, func_args_t>>(std::forward<Tuple>(args_tuple))...,
return fn(baseT::template get<S, std::tuple_element_t<S, func_args_t>>(std::forward<Tuple>(args_tuple))...,
std::forward<decltype(args)>(args)...);
}
};
Expand Down

0 comments on commit fb55a37

Please sign in to comment.