Skip to content

Commit a426df2

Browse files
committed
Update reshape indices
1 parent b83dc0a commit a426df2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs_input/api/manipulation/rearranging/reshape.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Reshape an operator by giving it new sizes. The total size of the reshaped opera
77
the original size.
88

99
.. doxygenfunction:: reshape(const T &op, ShapeType &&s)
10-
.. doxygenfunction:: reshape( const T &op, const int32_t (&sizes)[RANK])
10+
.. doxygenfunction:: reshape( const T &op, const index_t (&sizes)[RANK])
1111

1212
Examples
1313
~~~~~~~~

include/matx/operators/reshape.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ namespace matx
194194
*/
195195
template <int RANK, typename T>
196196
__MATX_INLINE__ auto reshape( const T &op,
197-
const int32_t (&sizes)[RANK]) {
197+
const index_t (&sizes)[RANK]) {
198198
return reshape<RANK, T>(op, detail::to_array(sizes));
199199
}
200200
} // end namespace matx

0 commit comments

Comments
 (0)