Skip to content

Commit 32a6a0b

Browse files
reduce notation burden
1 parent 4875af3 commit 32a6a0b

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); ct2 = sinpi(t); st2 = cospi(t); sqrt(ct2^2+ρ^2*st2^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)