Skip to content

Commit 424f704

Browse files
committed
Fix spelling and warning
1 parent 3cb1325 commit 424f704

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Src/FFT/AMReX_FFT.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace amrex::FFT
3333
* This class supports Fourier transforms between real and complex data. The
3434
* name R2C indicates that the forward transform converts real data to
3535
* complex data, while the backward transform converts complex data to real
36-
* data. It should be noted that both directions fo transformation are
36+
* data. It should be noted that both directions of transformation are
3737
* supported, not just from real to complex. The scaling follows the FFTW
3838
* convention, where applying the forward transform followed by the backward
3939
* transform scales the original data by the size of the input array.

Tests/FFT/R2C/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ int main (int argc, char* argv[])
105105
{ // forward and backward
106106
FFT::R2C<Real,FFT::Direction::both> r2c(geom.Domain());
107107
r2c.forwardThenBackward(mf, mf2,
108-
[=] AMREX_GPU_DEVICE (int i, int j, int k, auto& sp)
108+
[=] AMREX_GPU_DEVICE (int, int, int, auto& sp)
109109
{
110110
sp *= scaling;
111111
});

0 commit comments

Comments
 (0)