Skip to content

Commit

Permalink
Fix unused paramter
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Dec 3, 2023
1 parent 39bad48 commit 93550a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/migraphx/op/reshape_lazy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ struct reshape_lazy
{
if(dim_start == dim_last)
return nullopt;
(void)stride_last; // Is only used in the assert
(void)stride_start; // Is only used in the assert
assert(std::distance(dim_start, dim_last) == std::distance(stride_start, stride_last));
auto make_pair_optional = [&](auto dim, auto stride) {
return std::make_optional(std::make_pair(dim, stride));
Expand Down

0 comments on commit 93550a7

Please sign in to comment.