Skip to content

Commit 8ff6363

Browse files
committed
Merge branch 'master' of github.com:FourierFlows/FourierFlows.jl into master
2 parents 336c22a + 4698db1 commit 8ff6363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/grids.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ grid.rfftplan
101101
We use the convention that variables names with `h` at the end stand for variable-hat, i.e., $\hat{u}$ is the Fourier transform of $u$ and is stored in array `uh`. Since `u` is of size $n_x$, the real-Fourier transform should be of size $n_{kr} = n_x/2+1$.
102102

103103
```@example 1
104-
uh = zeros(FourierFlows.cxeltype(grid), grid.nkr)
104+
uh = Complex.(zeros(grid.nkr))
105105
mul!(uh, grid.rfftplan, u)
106106
107107
nothing # hide

0 commit comments

Comments
 (0)