Skip to content

Commit

Permalink
Update on "Improve torch.fft n-dimensional transforms"
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
peterbell10 committed Dec 2, 2020
2 parents 0efb859 + ec04cfd commit f9b5cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aten/src/ATen/native/mkl/SpectralOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void _fft_fill_with_conjugate_symmetry_slice(
// We explicitly loop over one row, then use this lambda to iterate over
// n-dimensions. This advances iter_index by one row, while updating in_ptr
// and out_ptr to point to the new row of data.
auto advance_index = [&] __ubsan_ignore_undefined__ {
auto advance_index = [&] () __ubsan_ignore_undefined__ {
for (size_t i = 1; i < iter_index.size(); ++i) {
if (iter_index[i] + 1 < signal_half_sizes[i]) {
++iter_index[i];
Expand Down

0 comments on commit f9b5cd2

Please sign in to comment.