From ed0e53d2f0c7d920641901123ed63c6e022266ea Mon Sep 17 00:00:00 2001 From: Cliff Burdick <30670611+cliffburdick@users.noreply.github.com> Date: Fri, 15 Dec 2023 11:55:34 -0800 Subject: [PATCH] Update iterator.h --- include/matx/core/iterator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/matx/core/iterator.h b/include/matx/core/iterator.h index f9644723..e04fe34f 100644 --- a/include/matx/core/iterator.h +++ b/include/matx/core/iterator.h @@ -286,7 +286,7 @@ struct RandomOperatorOutputIterator { template struct BeginOffset { using self_type = BeginOffset; - using value_type = typename OperatorType::scalar_type; + using value_type = index_t; // using stride_type = std::conditional_t, typename OperatorType::desc_type::stride_type, // index_t>; using stride_type = index_t; @@ -345,7 +345,7 @@ struct BeginOffset { template struct EndOffset { using self_type = BeginOffset; - using value_type = typename OperatorType::scalar_type; + using value_type = index_t; // using stride_type = std::conditional_t, typename OperatorType::desc_type::stride_type, // index_t>; using stride_type = index_t; @@ -411,4 +411,4 @@ auto __MATX_INLINE__ __MATX_HOST__ end(Op &&op) { return RandomOperatorOutputIterator{static_cast>(op), TotalSize(op)}; } -}; \ No newline at end of file +};