Skip to content

Commit

Permalink
Fix spelling and warning
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Oct 19, 2024
1 parent 3cb1325 commit 424f704
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Src/FFT/AMReX_FFT.H
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace amrex::FFT
* This class supports Fourier transforms between real and complex data. The
* name R2C indicates that the forward transform converts real data to
* complex data, while the backward transform converts complex data to real
* data. It should be noted that both directions fo transformation are
* data. It should be noted that both directions of transformation are
* supported, not just from real to complex. The scaling follows the FFTW
* convention, where applying the forward transform followed by the backward
* transform scales the original data by the size of the input array.
Expand Down
2 changes: 1 addition & 1 deletion Tests/FFT/R2C/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ int main (int argc, char* argv[])
{ // forward and backward
FFT::R2C<Real,FFT::Direction::both> r2c(geom.Domain());
r2c.forwardThenBackward(mf, mf2,
[=] AMREX_GPU_DEVICE (int i, int j, int k, auto& sp)
[=] AMREX_GPU_DEVICE (int, int, int, auto& sp)
{
sp *= scaling;
});
Expand Down

0 comments on commit 424f704

Please sign in to comment.