We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent effec8f commit 7a4794bCopy full SHA for 7a4794b
include/matx/operators/cross.h
@@ -99,9 +99,9 @@ namespace matx
99
auto idxOut = idx[idx.size() - 1];
100
101
//create references to individual slices for ease of notation
102
- cuda::std::array idx0(idx);
103
- cuda::std::array idx1(idx);
104
- cuda::std::array idx2(idx);
+ cuda::std::array idx0{idx};
+ cuda::std::array idx1{idx};
+ cuda::std::array idx2{idx};
105
106
idx0[idx0.size() - 1] = 0LL;
107
idx1[idx1.size() - 1] = 1LL;
@@ -197,4 +197,4 @@ namespace matx
197
__MATX_INLINE__ auto cross(const OpA &A, const OpB &B) {
198
return detail::CrossOp(A, B);
199
}
200
-} // end namespace matx
+} // end namespace matx
0 commit comments