Skip to content

Commit 7b77354

Browse files
authored
Fixing shadow declaration (#745)
* Fixing shadow declaration
1 parent 0bad5b9 commit 7b77354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/matx/transforms/inverse.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class matxInversePlan_t {
156156
size_t total_iter = std::accumulate(a_shape.begin(), a_shape.begin() + TensorTypeA::Rank() - batch_offset, 1, std::multiplies<index_t>());
157157
for (size_t iter = 0; iter < total_iter; iter++) {
158158
if (use_input_workbuf) {
159-
auto ip = cuda::std::apply([&a_workbuf = a_workbuf](auto... param) { return a_workbuf.GetPointer(param...); }, a_idx);
159+
auto ip = cuda::std::apply([&workbuf = a_workbuf](auto... param) { return workbuf.GetPointer(param...); }, a_idx);
160160
in_pointers.push_back(ip);
161161
UpdateIndices<decltype(a_workbuf), index_t, TensorTypeA::Rank()>(a_workbuf, a_idx, batch_offset);
162162
} else {

0 commit comments

Comments
 (0)