From 93550a7346083d26607f9ce995f35ae6ae469055 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 3 Dec 2023 15:06:38 -0600 Subject: [PATCH] Fix unused paramter --- src/include/migraphx/op/reshape_lazy.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/migraphx/op/reshape_lazy.hpp b/src/include/migraphx/op/reshape_lazy.hpp index c031cd6371c..e4dd35849ac 100644 --- a/src/include/migraphx/op/reshape_lazy.hpp +++ b/src/include/migraphx/op/reshape_lazy.hpp @@ -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));