Skip to content

Commit 8d92144

Browse files
authored
Fix weird syntax in annulus example (#218)
1 parent 14d2bbb commit 8d92144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/annulus.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ M = 4N-3
3939
ρ = 2/3
4040

4141
# The radial grid:
42-
r = [begin t = (N-n-0.5)/(2N); ct = sinpi(t); st = cospi(t); sqrt(ct^2+ρ^2*st^2) end; for n in 0:N-1]
42+
r = [begin t = (N-n-0.5)/(2N); ct = sinpi(t); st = cospi(t); sqrt(ct^2+ρ^2*st^2) end for n in 0:N-1]
4343

4444
# The angular grid (mod $\pi$):
4545
θ = (0:M-1)*2/M

0 commit comments

Comments
 (0)